… | |
… | |
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 | if (screen.cur.row > 0) |
1018 | if (screen.cur.row > 0) |
1021 | { |
1019 | { |
1022 | #ifdef TERMCAP_HAS_BW |
1020 | #ifdef TERMCAP_HAS_BW |
1023 | screen.cur.col = ncol - 1; |
1021 | screen.cur.col = ncol - 1; |
1024 | screen.cur.row--; |
1022 | --screen.cur.row; |
1025 | return; |
1023 | |
|
|
1024 | want_refresh = 1; |
1026 | #endif |
1025 | #endif |
1027 | } |
1026 | } |
1028 | } |
1027 | } |
1029 | else if (!(screen.flags & Screen_WrapNext)) |
1028 | else |
1030 | scr_gotorc (0, -1, RELATIVE); |
1029 | scr_gotorc (0, -1, RELATIVE); |
1031 | |
|
|
1032 | screen.flags &= ~Screen_WrapNext; |
|
|
1033 | } |
1030 | } |
1034 | |
1031 | |
1035 | /* ------------------------------------------------------------------------- */ |
1032 | /* ------------------------------------------------------------------------- */ |
1036 | /* |
1033 | /* |
1037 | * Process Horizontal Tab |
1034 | * Process Horizontal Tab |
… | |
… | |
2923 | selection.len = 0; |
2920 | selection.len = 0; |
2924 | CLEAR_SELECTION (); |
2921 | CLEAR_SELECTION (); |
2925 | |
2922 | |
2926 | if (display->selection_owner == this) |
2923 | if (display->selection_owner == this) |
2927 | display->selection_owner = 0; |
2924 | display->selection_owner = 0; |
2928 | |
|
|
2929 | flush (); |
|
|
2930 | } |
2925 | } |
2931 | |
2926 | |
2932 | /* ------------------------------------------------------------------------- */ |
2927 | /* ------------------------------------------------------------------------- */ |
2933 | /* |
2928 | /* |
2934 | * Copy a selection into the cut buffer |
2929 | * Copy a selection into the cut buffer |