flush output for our builddata executable

Fixes #9018

We were truncated our terminfo causing tmux to not respect some
features.
This commit is contained in:
Mitchell Hashimoto
2025-10-03 13:27:24 -07:00
parent fd64b833a4
commit 93c634c866
2 changed files with 3 additions and 0 deletions

View File

@@ -3998,6 +3998,8 @@ pub fn cursorPosCallback(
crash.sentry.thread_state = self.crashThreadState();
defer crash.sentry.thread_state = null;
// log.debug("cursor pos x={} y={} mods={?}", .{ pos.x, pos.y, mods });
// If the position is negative, it is outside our viewport and
// we need to clear any hover states.
if (pos.x < 0 or pos.y < 0) {

View File

@@ -47,4 +47,5 @@ pub fn main() !void {
.@"vim-compiler" => try writer.writeAll(@import("extra/vim.zig").compiler),
.terminfo => try @import("terminfo/ghostty.zig").ghostty.encode(writer),
}
try stdout_writer.end();
}