… | |
… | |
1161 | */ |
1161 | */ |
1162 | #if ENABLE_FRILLS |
1162 | #if ENABLE_FRILLS |
1163 | void |
1163 | void |
1164 | rxvt_term::scr_forwardindex () |
1164 | rxvt_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 |
1395 | void |
1396 | void |
1396 | rxvt_term::scr_erase_savelines () |
1397 | rxvt_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 | |
2915 | int |
2912 | int |
2916 | rxvt_term::selection_request_other (Atom target, int selnum) |
2913 | rxvt_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; |