mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-25 13:16:11 +03:00
termio: move stream handler to dedicated file, remove dep on EventData
This commit is contained in:
@ -2,6 +2,8 @@
|
|||||||
//! for taking the config, spinning up a child process, and handling IO
|
//! for taking the config, spinning up a child process, and handling IO
|
||||||
//! with the terminal.
|
//! with the terminal.
|
||||||
|
|
||||||
|
const stream_handler = @import("termio/stream_handler.zig");
|
||||||
|
|
||||||
pub usingnamespace @import("termio/message.zig");
|
pub usingnamespace @import("termio/message.zig");
|
||||||
pub const reader = @import("termio/reader.zig");
|
pub const reader = @import("termio/reader.zig");
|
||||||
pub const Options = @import("termio/Options.zig");
|
pub const Options = @import("termio/Options.zig");
|
||||||
@ -9,6 +11,7 @@ pub const Termio = @import("termio/Termio.zig");
|
|||||||
pub const Thread = @import("termio/Thread.zig");
|
pub const Thread = @import("termio/Thread.zig");
|
||||||
pub const DerivedConfig = Termio.DerivedConfig;
|
pub const DerivedConfig = Termio.DerivedConfig;
|
||||||
pub const Mailbox = Thread.Mailbox;
|
pub const Mailbox = Thread.Mailbox;
|
||||||
|
pub const StreamHandler = stream_handler.StreamHandler;
|
||||||
|
|
||||||
test {
|
test {
|
||||||
@import("std").testing.refAllDecls(@This());
|
@import("std").testing.refAllDecls(@This());
|
||||||
|
File diff suppressed because it is too large
Load Diff
1273
src/termio/stream_handler.zig
Normal file
1273
src/termio/stream_handler.zig
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user