refactor: lots more writergate fixes - first successful build
This commit is contained in:
parent
5094aa8c85
commit
bf0d4402ea
48 changed files with 404 additions and 413 deletions
|
|
@ -33,7 +33,7 @@ pub fn layout(_: *Self) Widget.Layout {
|
|||
writer.print(" ", .{}) catch {};
|
||||
if (keybind.current_integer_argument()) |integer_argument|
|
||||
writer.print("{}", .{integer_argument}) catch {};
|
||||
writer.print("{} ", .{keybind.current_key_event_sequence_fmt()}) catch {};
|
||||
writer.print("{f} ", .{keybind.current_key_event_sequence_fmt()}) catch {};
|
||||
const len = fbs.getWritten().len;
|
||||
return .{ .static = if (len > 0) len else 0 };
|
||||
}
|
||||
|
|
@ -48,6 +48,6 @@ pub fn render(self: *Self, theme: *const Widget.Theme) bool {
|
|||
_ = self.plane.print(" ", .{}) catch {};
|
||||
if (keybind.current_integer_argument()) |integer_argument|
|
||||
_ = self.plane.print("{}", .{integer_argument}) catch {};
|
||||
_ = self.plane.print("{} ", .{keybind.current_key_event_sequence_fmt()}) catch {};
|
||||
_ = self.plane.print("{f} ", .{keybind.current_key_event_sequence_fmt()}) catch {};
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue