… | |
… | |
1018 | |
1018 | |
1019 | #ifdef CURSOR_BLINK |
1019 | #ifdef CURSOR_BLINK |
1020 | void |
1020 | void |
1021 | rxvt_term::cursor_blink_reset () |
1021 | rxvt_term::cursor_blink_reset () |
1022 | { |
1022 | { |
1023 | if (hidden_cursor) |
1023 | if (hidden_cursor) |
1024 | { |
1024 | { |
1025 | hidden_cursor = 0; |
1025 | hidden_cursor = 0; |
1026 | want_refresh = 1; |
1026 | want_refresh = 1; |
1027 | } |
1027 | } |
1028 | |
1028 | |
1029 | if (option (Opt_cursorBlink)) |
1029 | if (option (Opt_cursorBlink)) |
1030 | cursor_blink_ev.again (); |
1030 | cursor_blink_ev.again (); |
1031 | else |
1031 | else |
1032 | cursor_blink_ev.stop (); |
1032 | cursor_blink_ev.stop (); |
1033 | } |
1033 | } |
1034 | |
1034 | |
1035 | void |
1035 | void |
1036 | rxvt_term::cursor_blink_cb (ev::timer &w, int revents) |
1036 | rxvt_term::cursor_blink_cb (ev::timer &w, int revents) |
1037 | { |
1037 | { |
… | |
… | |
3586 | { |
3586 | { |
3587 | int state; |
3587 | int state; |
3588 | |
3588 | |
3589 | if (mode == 's') |
3589 | if (mode == 's') |
3590 | { |
3590 | { |
3591 | SavedModes |= (priv_modes & bit); |
3591 | if (priv_modes & bit) |
|
|
3592 | SavedModes |= bit; |
|
|
3593 | else |
|
|
3594 | SavedModes &= ~bit; |
3592 | return -1; |
3595 | return -1; |
3593 | } |
3596 | } |
3594 | else |
3597 | else |
3595 | { |
3598 | { |
3596 | if (mode == 'r') |
3599 | if (mode == 'r') |