ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/screen.C
(Generate patch)

Comparing rxvt-unicode/src/screen.C (file contents):
Revision 1.293 by root, Mon Dec 24 08:00:18 2007 UTC vs.
Revision 1.298 by ayin, Sun Jan 20 14:12:39 2008 UTC

1011 * XTERM_SEQ: CTRL-H 1011 * XTERM_SEQ: CTRL-H
1012 */ 1012 */
1013void 1013void
1014rxvt_term::scr_backspace () NOTHROW 1014rxvt_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
2652 /* convert normal newline chars into common keyboard Return key sequence */ 2649 /* convert normal newline chars into common keyboard Return key sequence */
2653 for (unsigned int i = 0; i < len; i++) 2650 for (unsigned int i = 0; i < len; i++)
2654 if (data[i] == C0_LF) 2651 if (data[i] == C0_LF)
2655 data[i] = C0_CR; 2652 data[i] = C0_CR;
2656 2653
2654 if (priv_modes & PrivMode_BracketPaste)
2655 tt_printf ("\e[200~");
2656
2657 tt_write (data, len); 2657 tt_write (data, len);
2658
2659 if (priv_modes & PrivMode_BracketPaste)
2660 tt_printf ("\e[201~");
2658} 2661}
2659 2662
2660/* ------------------------------------------------------------------------- */ 2663/* ------------------------------------------------------------------------- */
2661/* 2664/*
2662 * Respond to a notification that a primary selection has been sent 2665 * Respond to a notification that a primary selection has been sent

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines