this repo has no description
13
fork

Configure Feed

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

fix: don't call the callback synchronously on watcher init

This makes `xev.TtyWatcher` behave according to my expectations:
namely that the callback will only file after the function which
registers it has returned.

authored by

Rylee Lyman and committed by
Tim Culverhouse
9c2d18d5 c2139198

-2
-2
src/xev.zig
··· 99 99 .callback = Self.signalCallback, 100 100 }; 101 101 try Tty.notifyWinsize(handler); 102 - const winsize = try Tty.getWinsize(self.tty.fd); 103 - _ = self.callback(self.ud, loop, self, .{ .winsize = winsize }); 104 102 } 105 103 106 104 fn signalCallback(ptr: *anyopaque) void {