refactor(terminal): render terminal unfocused state
This commit is contained in:
parent
43b46d179f
commit
5c2ae84602
2 changed files with 3 additions and 3 deletions
|
|
@ -30,8 +30,8 @@
|
|||
.hash = "fuzzig-0.1.1-Ji0xivxIAQBD0g8O_NV_0foqoPf3elsg9Sc3pNfdVH4D",
|
||||
},
|
||||
.vaxis = .{
|
||||
.url = "git+https://github.com/neurocyte/libvaxis?ref=main#b8ed67716720c4d07517d85577af2181b6c00f10",
|
||||
.hash = "vaxis-0.5.1-BWNV_KRMCQAiYfM6aZa28DFk9SrsVVs0KuyMnzdMGHvb",
|
||||
.url = "git+https://github.com/neurocyte/libvaxis?ref=main#525cd36ed3e52e5a4787092672bcad728e03487c",
|
||||
.hash = "vaxis-0.5.1-BWNV_EJOCQCbXYSOktimDKBUitbfuwLJtUOAIP2hD6Xg",
|
||||
},
|
||||
.zeit = .{
|
||||
.url = "git+https://github.com/rockorager/zeit?ref=zig-0.15#ed2ca60db118414bda2b12df2039e33bad3b0b88",
|
||||
|
|
|
|||
|
|
@ -215,7 +215,7 @@ pub fn render(self: *Self, _: *const Widget.Theme) bool {
|
|||
}
|
||||
|
||||
// Blit the terminal's front screen into our vaxis.Window.
|
||||
self.vt.draw(self.allocator, self.plane.window) catch |e| {
|
||||
self.vt.draw(self.allocator, self.plane.window, self.focused) catch |e| {
|
||||
std.log.err("terminal_view: draw failed: {}", .{e});
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue