mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-07 02:16:34 +00:00
core: hook up all the inspector activation state and such
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
const std = @import("std");
|
||||
const Allocator = std.mem.Allocator;
|
||||
const Inspector = @import("../Inspector.zig");
|
||||
const terminal = @import("../terminal/main.zig");
|
||||
const renderer = @import("../renderer.zig");
|
||||
|
||||
@@ -14,6 +15,10 @@ mutex: *std.Thread.Mutex,
|
||||
/// The terminal data.
|
||||
terminal: *terminal.Terminal,
|
||||
|
||||
/// The terminal inspector, if any. This will be null while the inspector
|
||||
/// is not active and will be set when it is active.
|
||||
inspector: ?*Inspector = null,
|
||||
|
||||
/// Dead key state. This will render the current dead key preedit text
|
||||
/// over the cursor. This currently only ever renders a single codepoint.
|
||||
/// Preedit can in theory be multiple codepoints long but that is left as
|
||||
|
Reference in New Issue
Block a user