… | |
… | |
696 | #define PrivMode_LFNL (1UL<<19) |
696 | #define PrivMode_LFNL (1UL<<19) |
697 | /* too annoying to implement X11 highlight tracking */ |
697 | /* too annoying to implement X11 highlight tracking */ |
698 | /* #define PrivMode_MouseX11Track (1LU<<20) */ |
698 | /* #define PrivMode_MouseX11Track (1LU<<20) */ |
699 | |
699 | |
700 | #define PrivMode_mouse_report (PrivMode_MouseX10|PrivMode_MouseX11) |
700 | #define PrivMode_mouse_report (PrivMode_MouseX10|PrivMode_MouseX11) |
701 | #define PrivMode(test,bit) \ |
|
|
702 | if (test) \ |
|
|
703 | priv_modes |= (bit); \ |
|
|
704 | else \ |
|
|
705 | priv_modes &= ~(bit) |
|
|
706 | |
701 | |
707 | #ifdef ALLOW_132_MODE |
702 | #ifdef ALLOW_132_MODE |
708 | # define PrivMode_Default (PrivMode_Autowrap|PrivMode_ShiftKeys|PrivMode_VisibleCursor|PrivMode_132OK) |
703 | # define PrivMode_Default (PrivMode_Autowrap|PrivMode_ShiftKeys|PrivMode_VisibleCursor|PrivMode_132OK) |
709 | #else |
704 | #else |
710 | # define PrivMode_Default (PrivMode_Autowrap|PrivMode_ShiftKeys|PrivMode_VisibleCursor) |
705 | # define PrivMode_Default (PrivMode_Autowrap|PrivMode_ShiftKeys|PrivMode_VisibleCursor) |
… | |
… | |
1395 | { |
1390 | { |
1396 | if (set) |
1391 | if (set) |
1397 | options[opt >> 3] |= (1 << (opt & 7)); |
1392 | options[opt >> 3] |= (1 << (opt & 7)); |
1398 | else |
1393 | else |
1399 | options[opt >> 3] &= ~(1 << (opt & 7)); |
1394 | options[opt >> 3] &= ~(1 << (opt & 7)); |
|
|
1395 | } |
|
|
1396 | |
|
|
1397 | void PrivMode (int set, unsigned bit) NOTHROW |
|
|
1398 | { |
|
|
1399 | if (set) |
|
|
1400 | priv_modes |= bit; |
|
|
1401 | else |
|
|
1402 | priv_modes &= ~bit; |
1400 | } |
1403 | } |
1401 | |
1404 | |
1402 | void scr_blank_line (line_t &l, unsigned int col, unsigned int width, rend_t efs) const NOTHROW; |
1405 | void scr_blank_line (line_t &l, unsigned int col, unsigned int width, rend_t efs) const NOTHROW; |
1403 | void scr_blank_screen_mem (line_t &l, rend_t efs) const NOTHROW; |
1406 | void scr_blank_screen_mem (line_t &l, rend_t efs) const NOTHROW; |
1404 | int scr_scroll_text (int row1, int row2, int count) NOTHROW; |
1407 | int scr_scroll_text (int row1, int row2, int count) NOTHROW; |