draw the selection cursor when entering the mode
This commit is contained in:
parent
3bdfd30e0f
commit
605237703b
|
@ -120,6 +120,7 @@ static void start_selection(VteTerminal *vte, select_info *select) {
|
||||||
feed_str(vte, CSI "?25l"); // hide cursor
|
feed_str(vte, CSI "?25l"); // hide cursor
|
||||||
select->mode = SELECT_ON;
|
select->mode = SELECT_ON;
|
||||||
vte_terminal_get_cursor_position(vte, &select->cursor_col, &select->cursor_row);
|
vte_terminal_get_cursor_position(vte, &select->cursor_col, &select->cursor_row);
|
||||||
|
update_selection(vte, select);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void end_selection(VteTerminal *vte, select_info *select) {
|
static void end_selection(VteTerminal *vte, select_info *select) {
|
||||||
|
|
Loading…
Reference in New Issue