diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-02-07 23:13:54 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-02-07 23:13:54 +0100 |
| commit | 0ca5c66a71aa6ed9b2cfc621c26d4fc4ff47ec93 (patch) | |
| tree | cd9bcffc53fa508eed3f66d03af8f5aa04716017 | |
| parent | 827575170a9c9a97ea0ccee32d4b0d4ceabb27a0 (diff) | |
| download | vis-0ca5c66a71aa6ed9b2cfc621c26d4fc4ff47ec93.tar.gz vis-0ca5c66a71aa6ed9b2cfc621c26d4fc4ff47ec93.tar.xz | |
vis: mark output of pipe command as saved
| -rw-r--r-- | vis-cmds.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -913,6 +913,9 @@ static bool cmd_pipe(Vis *vis, Filerange *range, enum CmdOpt opt, const char *ar buffer_release(&filter.err); + if (filter.txt) + text_save(filter.txt, NULL); + return !vis->cancel_filter && status == 0; } |
