this repo has no description
13
fork

Configure Feed

Select the types of activity you want to include in your feed.

vxfw(Command): add queue_refresh command

+9
+1
src/vxfw/App.zig
··· 256 256 std.log.err("set_title error: {}", .{err}); 257 257 }; 258 258 }, 259 + .queue_refresh => self.vx.queueRefresh(), 259 260 } 260 261 } 261 262 }
+8
src/vxfw/vxfw.zig
··· 84 84 85 85 /// Set the title of the terminal 86 86 set_title: []const u8, 87 + 88 + /// Queue a refresh of the entire screen. Implicitly sets redraw 89 + queue_refresh, 87 90 }; 88 91 89 92 pub const EventContext = struct { ··· 135 138 136 139 pub fn setTitle(self: *EventContext, title: []const u8) Allocator.Error!void { 137 140 try self.addCmd(.{ .set_title = title }); 141 + } 142 + 143 + pub fn queueRefresh(self: *EventContext) Allocator.Error!void { 144 + try self.addCmd(.queue_refresh); 145 + self.redraw = true; 138 146 } 139 147 }; 140 148