mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-09 05:33:58 -04:00
fix vimode not working in alt grid
This commit is contained in:
parent
210325d8aa
commit
ae09b12501
1 changed files with 0 additions and 7 deletions
7
vimode.c
7
vimode.c
|
|
@ -1136,9 +1136,6 @@ static void execute_vimode_binding(struct seat *seat, struct terminal *term,
|
||||||
{
|
{
|
||||||
const enum bind_action_vimode action = binding->action;
|
const enum bind_action_vimode action = binding->action;
|
||||||
|
|
||||||
if (term->grid != &term->normal) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
LOG_DBG("PRE-ACTION DATA [offset=%d; view=%d]", term->grid->offset,
|
LOG_DBG("PRE-ACTION DATA [offset=%d; view=%d]", term->grid->offset,
|
||||||
term->grid->view);
|
term->grid->view);
|
||||||
switch (action) {
|
switch (action) {
|
||||||
|
|
@ -1409,10 +1406,6 @@ static void execute_vimode_search_binding(struct seat *seat,
|
||||||
struct vimode_search *const search = &term->vimode.search;
|
struct vimode_search *const search = &term->vimode.search;
|
||||||
*search_string_changed = false;
|
*search_string_changed = false;
|
||||||
|
|
||||||
if (term->grid != &term->normal) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
switch (action) {
|
switch (action) {
|
||||||
case BIND_ACTION_VIMODE_SEARCH_NONE:
|
case BIND_ACTION_VIMODE_SEARCH_NONE:
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue