notify, setTitle: flush the buffer

Flush the buffer when calling notify and setTitle
This commit is contained in:
Tim Culverhouse 2024-02-03 10:02:04 -06:00
parent eae1036c29
commit 62ee6d1b58

View file

@ -535,6 +535,7 @@ pub fn Vaxis(comptime T: type) type {
.{body},
);
}
try self.tty.?.flush();
}
/// sets the window title
@ -545,6 +546,7 @@ pub fn Vaxis(comptime T: type) type {
ctlseqs.osc2_set_title,
.{title},
);
try self.tty.?.flush();
}
// turn bracketed paste on or off. An event will be sent at the