diff options
author | Andrés <andmarti@gmail.com> | 2024-01-20 10:39:09 -0300 |
---|---|---|
committer | Andrés <andmarti@gmail.com> | 2024-01-20 10:39:09 -0300 |
commit | a2d6366ba2ead5e0278fa337caa9e7646fb157ee (patch) | |
tree | 830dcb103f1c69b2add55602142d70f07dab2216 | |
parent | 0ba93dce6fa354c3ba06e5a0f337d1633f1e518a (diff) |
work on issue 862
-rw-r--r-- | src/cmds/cmds_normal.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cmds/cmds_normal.c b/src/cmds/cmds_normal.c index 56c7e15..fea567c 100644 --- a/src/cmds/cmds_normal.c +++ b/src/cmds/cmds_normal.c @@ -361,12 +361,12 @@ void do_normalmode(struct block * buf) { } else if (buf->pnext->value == L'f') { // gf unselect_ranges(); - ui_update(TRUE); - ui_stop_screen(); + def_prog_mode(); + endwin(); openfile_under_cursor(sh->currow, sh->curcol); - ui_start_screen(); - start_default_ucolors(); - set_colors_param_dict(); + reset_prog_mode(); + refresh(); + ui_update(TRUE); } else if (buf->pnext->value == L'g') { // gg e = go_home(sh); |