flush output for our builddata executable (#9019)

Fixes #9018

We were truncated our terminfo causing tmux to not respect some
features.
pull/9020/head
Mitchell Hashimoto 2025-10-03 13:33:59 -07:00 committed by GitHub
commit b99ca6ad97
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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();
}