diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2018-05-15 10:59:46 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2018-05-16 13:24:01 +0200 |
| commit | 4673519c93a40fe0ed6f2ee3630802cd46506d0c (patch) | |
| tree | 1d4c6932087465ef641cae3610bf8cb693b3cd1c | |
| parent | e34b829bbb284972dd391ae00b22274e47d55f16 (diff) | |
| download | vis-4673519c93a40fe0ed6f2ee3630802cd46506d0c.tar.gz vis-4673519c93a40fe0ed6f2ee3630802cd46506d0c.tar.xz | |
sam: keep selections after :> command
Fix #700
| -rw-r--r-- | sam.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -1708,9 +1708,6 @@ static bool cmd_pipeout(Vis *vis, Win *win, Command *cmd, const char *argv[], Se int status = vis_pipe(vis, win->file, range, (const char*[]){ argv[1], NULL }, NULL, NULL, &buferr, read_buffer); - if (status == 0 && sel) - view_cursors_to(sel, range->start); - if (vis->interrupted) vis_info_show(vis, "Command cancelled"); else if (status != 0) |
