notify, setTitle: flush the buffer
Flush the buffer when calling notify and setTitle
This commit is contained in:
parent
eae1036c29
commit
62ee6d1b58
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue