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.159 by root, Mon Feb 21 19:26:07 2005 UTC vs.
Revision 1.161 by root, Tue Feb 22 21:41:50 2005 UTC

1161 */ 1161 */
1162#if ENABLE_FRILLS 1162#if ENABLE_FRILLS
1163void 1163void
1164rxvt_term::scr_forwardindex () 1164rxvt_term::scr_forwardindex ()
1165{ 1165{
1166 int row; 1166 int row;
1167 1167
1168 if (screen.cur.col < TermWin.ncol - 1) 1168 if (screen.cur.col < TermWin.ncol - 1)
1169 scr_gotorc (0, 1, R_RELATIVE | C_RELATIVE); 1169 scr_gotorc (0, 1, R_RELATIVE | C_RELATIVE);
1170 else 1170 else
1171 { 1171 {
1390 screen.tlen[row + row_offset] = 0; 1390 screen.tlen[row + row_offset] = 0;
1391 scr_blank_line (drawn_text[row], drawn_rend[row], (unsigned int)TermWin.ncol, ren); 1391 scr_blank_line (drawn_text[row], drawn_rend[row], (unsigned int)TermWin.ncol, ren);
1392 } 1392 }
1393} 1393}
1394 1394
1395#if ENABLE_FRILLS
1395void 1396void
1396rxvt_term::scr_erase_savelines () 1397rxvt_term::scr_erase_savelines ()
1397{ 1398{
1398 want_refresh = 1; 1399 want_refresh = 1;
1399 ZERO_SCROLLBACK (); 1400 ZERO_SCROLLBACK ();
1400 1401
1401 for (int i = 0; i < TermWin.saveLines; ++i) 1402 TermWin.nscrolled = 0;
1402 if (screen.text [i])
1403 {
1404 screen.tlen[i] = 0;
1405 scr_blank_line (screen.text [i], screen.rend [i], (unsigned int)TermWin.ncol, DEFAULT_RSTYLE);
1406 }
1407} 1403}
1404#endif
1408 1405
1409/* ------------------------------------------------------------------------- */ 1406/* ------------------------------------------------------------------------- */
1410/* 1407/*
1411 * Fill the screen with `E's 1408 * Fill the screen with `E's
1412 * XTERM_SEQ: Screen Alignment Test: ESC # 8 1409 * XTERM_SEQ: Screen Alignment Test: ESC # 8
2914 2911
2915int 2912int
2916rxvt_term::selection_request_other (Atom target, int selnum) 2913rxvt_term::selection_request_other (Atom target, int selnum)
2917{ 2914{
2918 Atom sel; 2915 Atom sel;
2919#ifdef DEBUG_SELECT
2920 char *debug_xa_names[] = { "PRIMARY", "SECONDARY", "CLIPBOARD" };
2921#endif
2922 2916
2923 selection_type |= selnum; 2917 selection_type |= selnum;
2924 2918
2925 if (selnum == Sel_Primary) 2919 if (selnum == Sel_Primary)
2926 sel = XA_PRIMARY; 2920 sel = XA_PRIMARY;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines