… | |
… | |
1015 | { |
1015 | { |
1016 | want_refresh = 1; |
1016 | want_refresh = 1; |
1017 | |
1017 | |
1018 | if (screen.cur.col == 0) |
1018 | if (screen.cur.col == 0) |
1019 | { |
1019 | { |
|
|
1020 | screen.flags &= ~Screen_WrapNext; |
|
|
1021 | |
1020 | if (screen.cur.row > 0) |
1022 | if (screen.cur.row > 0) |
1021 | { |
1023 | { |
1022 | #ifdef TERMCAP_HAS_BW |
1024 | #ifdef TERMCAP_HAS_BW |
1023 | screen.cur.col = ncol - 1; |
1025 | screen.cur.col = ncol - 1; |
1024 | screen.cur.row--; |
1026 | screen.cur.row--; |
… | |
… | |
1026 | #endif |
1028 | #endif |
1027 | } |
1029 | } |
1028 | } |
1030 | } |
1029 | else |
1031 | else |
1030 | scr_gotorc (0, -1, RELATIVE); |
1032 | scr_gotorc (0, -1, RELATIVE); |
1031 | |
|
|
1032 | screen.flags &= ~Screen_WrapNext; |
|
|
1033 | } |
1033 | } |
1034 | |
1034 | |
1035 | /* ------------------------------------------------------------------------- */ |
1035 | /* ------------------------------------------------------------------------- */ |
1036 | /* |
1036 | /* |
1037 | * Process Horizontal Tab |
1037 | * Process Horizontal Tab |