mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-12 04:27:51 -05:00
fix selection not being updated on horizontal motions
This commit is contained in:
parent
6e38cb683a
commit
a5cf270fdf
1 changed files with 3 additions and 0 deletions
3
vimode.c
3
vimode.c
|
|
@ -1233,6 +1233,7 @@ static void execute_vimode_binding(struct seat *seat, struct terminal *term,
|
|||
damage_cursor_cell(term);
|
||||
term->vimode.cursor.col = 0;
|
||||
damage_cursor_cell(term);
|
||||
update_selection(term);
|
||||
break;
|
||||
|
||||
case BIND_ACTION_VIMODE_LINE_END: {
|
||||
|
|
@ -1248,6 +1249,7 @@ static void execute_vimode_binding(struct seat *seat, struct terminal *term,
|
|||
}
|
||||
term->vimode.cursor.col = col;
|
||||
damage_cursor_cell(term);
|
||||
update_selection(term);
|
||||
} break;
|
||||
|
||||
case BIND_ACTION_VIMODE_TEXT_BEGIN: {
|
||||
|
|
@ -1263,6 +1265,7 @@ static void execute_vimode_binding(struct seat *seat, struct terminal *term,
|
|||
}
|
||||
term->vimode.cursor.col = col;
|
||||
damage_cursor_cell(term);
|
||||
update_selection(term);
|
||||
} break;
|
||||
|
||||
case BIND_ACTION_VIMODE_WORD_BEGIN:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue