diff --git a/src/buffer_utils.cc b/src/buffer_utils.cc index 47f9a88b..6de07c71 100644 --- a/src/buffer_utils.cc +++ b/src/buffer_utils.cc @@ -178,6 +178,7 @@ Buffer* create_fifo_buffer(String name, int fd, Buffer::Flags flags, bool scroll if (buffer) { buffer->flags() |= Buffer::Flags::NoUndo | flags; + buffer->values().clear(); buffer->reload({StringData::create({"\n"})}, ByteOrderMark::None, EolFormat::Lf, {InvalidTime, {}, {}}); } else