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.296 by root, Wed Jan 9 01:05:24 2008 UTC vs.
Revision 1.298 by ayin, Sun Jan 20 14:12:39 2008 UTC

1017 { 1017 {
1018 if (screen.cur.row > 0) 1018 if (screen.cur.row > 0)
1019 { 1019 {
1020#ifdef TERMCAP_HAS_BW 1020#ifdef TERMCAP_HAS_BW
1021 screen.cur.col = ncol - 1; 1021 screen.cur.col = ncol - 1;
1022 screen.cur.row--; 1022 --screen.cur.row;
1023
1023 want_refresh = 1; 1024 want_refresh = 1;
1024#endif 1025#endif
1025 } 1026 }
1026 } 1027 }
1027 else 1028 else
2648 /* convert normal newline chars into common keyboard Return key sequence */ 2649 /* convert normal newline chars into common keyboard Return key sequence */
2649 for (unsigned int i = 0; i < len; i++) 2650 for (unsigned int i = 0; i < len; i++)
2650 if (data[i] == C0_LF) 2651 if (data[i] == C0_LF)
2651 data[i] = C0_CR; 2652 data[i] = C0_CR;
2652 2653
2654 if (priv_modes & PrivMode_BracketPaste)
2655 tt_printf ("\e[200~");
2656
2653 tt_write (data, len); 2657 tt_write (data, len);
2658
2659 if (priv_modes & PrivMode_BracketPaste)
2660 tt_printf ("\e[201~");
2654} 2661}
2655 2662
2656/* ------------------------------------------------------------------------- */ 2663/* ------------------------------------------------------------------------- */
2657/* 2664/*
2658 * 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