aboutsummaryrefslogtreecommitdiff
path: root/vis-cmds.c
diff options
context:
space:
mode:
authorRandy Palamar <randy@rnpnr.xyz>2024-05-11 17:52:28 -0600
committerRandy Palamar <randy@rnpnr.xyz>2024-05-21 20:21:46 -0600
commit06d7681cfffbc3e982fe192db4190f124b2b0848 (patch)
treeaf1d349cdca3890ce0b616789f719121b254a98b /vis-cmds.c
parent4c2b2d8a100a67212134c1bb89fad39311fa441e (diff)
downloadvis-06d7681cfffbc3e982fe192db4190f124b2b0848.tar.gz
vis-06d7681cfffbc3e982fe192db4190f124b2b0848.tar.xz
make Selection unopaque
Diffstat (limited to 'vis-cmds.c')
-rw-r--r--vis-cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vis-cmds.c b/vis-cmds.c
index 2874169..6cfc932 100644
--- a/vis-cmds.c
+++ b/vis-cmds.c
@@ -876,7 +876,7 @@ static bool cmd_help(Vis *vis, Win *win, Command *cmd, const char *argv[], Selec
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);
+ view_cursors_to(vis->win->view->selection, 0);
if (argv[1])
vis_motion(vis, VIS_MOVE_SEARCH_FORWARD, argv[1]);