… | |
… | |
1011 | * XTERM_SEQ: CTRL-H |
1011 | * XTERM_SEQ: CTRL-H |
1012 | */ |
1012 | */ |
1013 | void |
1013 | void |
1014 | rxvt_term::scr_backspace () NOTHROW |
1014 | rxvt_term::scr_backspace () NOTHROW |
1015 | { |
1015 | { |
1016 | want_refresh = 1; |
|
|
1017 | |
|
|
1018 | if (screen.cur.col == 0) |
1016 | if (screen.cur.col == 0) |
1019 | { |
1017 | { |
1020 | screen.flags &= ~Screen_WrapNext; |
|
|
1021 | |
|
|
1022 | if (screen.cur.row > 0) |
1018 | if (screen.cur.row > 0) |
1023 | { |
1019 | { |
1024 | #ifdef TERMCAP_HAS_BW |
1020 | #ifdef TERMCAP_HAS_BW |
1025 | screen.cur.col = ncol - 1; |
1021 | screen.cur.col = ncol - 1; |
1026 | screen.cur.row--; |
1022 | screen.cur.row--; |
1027 | return; |
1023 | want_refresh = 1; |
1028 | #endif |
1024 | #endif |
1029 | } |
1025 | } |
1030 | } |
1026 | } |
1031 | else |
1027 | else |
1032 | scr_gotorc (0, -1, RELATIVE); |
1028 | scr_gotorc (0, -1, RELATIVE); |