temporary hack: use selection as a cursor
This commit is contained in:
parent
02d7e42037
commit
b9ea216495
|
@ -81,6 +81,9 @@ void window_title_cb(VteTerminal *vte, GtkWindow *window) {
|
|||
|
||||
static void update_selection(VteTerminal *vte, const select_info *select) {
|
||||
if (select->mode == SELECT_ON) {
|
||||
// a hack to use the selection as a cursor until a real one is implemented
|
||||
vte_terminal_select_text(vte, select->cursor_col, select->cursor_row,
|
||||
select->cursor_col, select->cursor_row, 0, 0);
|
||||
return; // not in visual mode
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue