diff --git a/vis-cmds.c b/vis-cmds.c index 3f612f4f4..3ca7f7b6a 100644 --- a/vis-cmds.c +++ b/vis-cmds.c @@ -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; }