… | |
… | |
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 | { |