reenable undo support on fifo buffers when the fifo closes
This commit is contained in:
parent
b90594353c
commit
90ea3023fe
|
@ -65,6 +65,7 @@ Buffer* open_fifo(const String& name , const String& filename, Context& context)
|
||||||
{
|
{
|
||||||
kak_assert(buffer->flags() & Buffer::Flags::Fifo);
|
kak_assert(buffer->flags() & Buffer::Flags::Fifo);
|
||||||
buffer->flags() &= ~Buffer::Flags::Fifo;
|
buffer->flags() &= ~Buffer::Flags::Fifo;
|
||||||
|
buffer->flags() &= ~Buffer::Flags::NoUndo;
|
||||||
close(watcher.fd());
|
close(watcher.fd());
|
||||||
delete &watcher;
|
delete &watcher;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user