mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-11 12:26:41 +00:00
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:
@@ -3998,6 +3998,8 @@ pub fn cursorPosCallback(
|
|||||||
crash.sentry.thread_state = self.crashThreadState();
|
crash.sentry.thread_state = self.crashThreadState();
|
||||||
defer crash.sentry.thread_state = null;
|
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
|
// If the position is negative, it is outside our viewport and
|
||||||
// we need to clear any hover states.
|
// we need to clear any hover states.
|
||||||
if (pos.x < 0 or pos.y < 0) {
|
if (pos.x < 0 or pos.y < 0) {
|
||||||
|
@@ -47,4 +47,5 @@ pub fn main() !void {
|
|||||||
.@"vim-compiler" => try writer.writeAll(@import("extra/vim.zig").compiler),
|
.@"vim-compiler" => try writer.writeAll(@import("extra/vim.zig").compiler),
|
||||||
.terminfo => try @import("terminfo/ghostty.zig").ghostty.encode(writer),
|
.terminfo => try @import("terminfo/ghostty.zig").ghostty.encode(writer),
|
||||||
}
|
}
|
||||||
|
try stdout_writer.end();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user