… | |
… | |
1397 | rxvt_term::scr_erase_savelines () |
1397 | rxvt_term::scr_erase_savelines () |
1398 | { |
1398 | { |
1399 | want_refresh = 1; |
1399 | want_refresh = 1; |
1400 | ZERO_SCROLLBACK (); |
1400 | ZERO_SCROLLBACK (); |
1401 | |
1401 | |
1402 | for (int i = 0; i < TermWin.saveLines; ++i) |
1402 | TermWin.nscrolled = 0; |
1403 | if (screen.text [i]) |
|
|
1404 | { |
|
|
1405 | screen.tlen[i] = 0; |
|
|
1406 | scr_blank_line (screen.text [i], screen.rend [i], (unsigned int)TermWin.ncol, DEFAULT_RSTYLE); |
|
|
1407 | } |
|
|
1408 | } |
1403 | } |
1409 | #endif |
1404 | #endif |
1410 | |
1405 | |
1411 | /* ------------------------------------------------------------------------- */ |
1406 | /* ------------------------------------------------------------------------- */ |
1412 | /* |
1407 | /* |
… | |
… | |
2916 | |
2911 | |
2917 | int |
2912 | int |
2918 | rxvt_term::selection_request_other (Atom target, int selnum) |
2913 | rxvt_term::selection_request_other (Atom target, int selnum) |
2919 | { |
2914 | { |
2920 | Atom sel; |
2915 | Atom sel; |
2921 | #ifdef DEBUG_SELECT |
|
|
2922 | char *debug_xa_names[] = { "PRIMARY", "SECONDARY", "CLIPBOARD" }; |
|
|
2923 | #endif |
|
|
2924 | |
2916 | |
2925 | selection_type |= selnum; |
2917 | selection_type |= selnum; |
2926 | |
2918 | |
2927 | if (selnum == Sel_Primary) |
2919 | if (selnum == Sel_Primary) |
2928 | sel = XA_PRIMARY; |
2920 | sel = XA_PRIMARY; |