diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-02-08 22:54:31 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-02-08 22:57:07 +0100 |
| commit | 57363f6ea8bafac509e11e6c1e42f9f02999ce2f (patch) | |
| tree | f67fe6a68e45fac0cba03ff1246ce6a698c29ae7 /vis-cmds.c | |
| parent | 11b55c1ae4f73a033aae5800d9b1627bcae04e50 (diff) | |
| download | vis-57363f6ea8bafac509e11e6c1e42f9f02999ce2f.tar.gz vis-57363f6ea8bafac509e11e6c1e42f9f02999ce2f.tar.xz | |
vis: fix cursor positioning after :help
Diffstat (limited to 'vis-cmds.c')
| -rw-r--r-- | vis-cmds.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -754,6 +754,7 @@ static bool cmd_help(Vis *vis, Win *win, Command *cmd, const char *argv[], Curso text_appendf(txt, " %-32s\t%s\n", configs[i].name, configs[i].enabled ? "yes" : "no"); text_save(txt, NULL); + view_cursor_to(vis->win->view, 0); if (argv[1]) vis_motion(vis, VIS_MOVE_SEARCH_FORWARD, argv[1]); |
