Skip to content

Commit

Permalink
vis: mark output of pipe command as saved
Browse files Browse the repository at this point in the history
  • Loading branch information
martanne committed Feb 7, 2016
1 parent 8275751 commit 0ca5c66
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vis-cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 0ca5c66

Please sign in to comment.