diff options
Diffstat (limited to 'vendor/libghostty-vt/src/apprt/none.zig')
| -rw-r--r-- | vendor/libghostty-vt/src/apprt/none.zig | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/vendor/libghostty-vt/src/apprt/none.zig b/vendor/libghostty-vt/src/apprt/none.zig new file mode 100644 index 00000000..0483d824 --- /dev/null +++ b/vendor/libghostty-vt/src/apprt/none.zig @@ -0,0 +1,19 @@ +const std = @import("std"); +const Allocator = std.mem.Allocator; + +const internal_os = @import("../os/main.zig"); +const apprt = @import("../apprt.zig"); +pub const resourcesDir = internal_os.resourcesDir; + +pub const App = struct { + /// Always return false as there is no apprt to communicate with. + pub fn performIpc( + _: Allocator, + _: apprt.ipc.Target, + comptime action: apprt.ipc.Action.Key, + _: apprt.ipc.Action.Value(action), + ) !bool { + return false; + } +}; +pub const Surface = struct {}; |
