diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-04 20:54:21 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-04 21:12:33 -0300 |
| commit | 0ff1fc99eb870f8a1e714a71c1a853066737c822 (patch) | |
| tree | 2c8b4720e2ed190e6f9062cfe8586c3da22aeb42 /src/file_watch.zig | |
| parent | 3b082687c7da1c5d8cc52c71fdf4ddd38d860cd8 (diff) | |
| download | pardes-0ff1fc99eb870f8a1e714a71c1a853066737c822.tar.gz pardes-0ff1fc99eb870f8a1e714a71c1a853066737c822.zip | |
rename: the terminal frontend is the tui (-Dplatform=tui, src/tui/tui.zig, --tui with --tty kept as its old spelling, the process tests' backend .tui and --backend=tui, docs/typ/builtins-tui.json, the Settings report's platform), and the builtin Tty is Term (its registry entry, SPC n t, every default tag, the docs, tests and snap scripts), Tty still run as Term through exec.acme_words, Tty+fish too on a tag and a ctl; tty as a pane's raw mode and as the OS's terminal unchanged
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/file_watch.zig')
| -rw-r--r-- | src/file_watch.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/file_watch.zig b/src/file_watch.zig index f640fa5f..89d0fdaf 100644 --- a/src/file_watch.zig +++ b/src/file_watch.zig @@ -100,7 +100,7 @@ const wake_ident: usize = std.math.maxInt(usize); /// `polled` is the only flag that survives the port. On linux it adds /// IN_NONBLOCK, because a host that finds this descriptor ready in its own /// `poll(2)` must be able to stop draining it, while a -/// host that parks a thread in `wait` (tty.zig, gui.zig) wants the blocking +/// host that parks a thread in `wait` (tui.zig, gui.zig) wants the blocking /// read. On macos neither host needs either flag: a kqueue is not inherited /// across `fork(2)`, so there is no CLOEXEC to ask for, and whether a wait /// blocks is the timeout argument to `kevent(2)` rather than a property of the @@ -143,11 +143,11 @@ pub fn init(polled: bool) c_int { /// /// macos only, because it exists for the one thing a kqueue cannot do the way /// an inotify descriptor can — be read. The linux hosts keep reading theirs -/// (tty.zig through `std.Io.File`, so teardown's `cancel` interrupts it), and +/// (tui.zig through `std.Io.File`, so teardown's `cancel` interrupts it), and /// this is the shape that replaces that where there is nothing to read. /// /// Deliberately does NOT report WHAT changed, for the reason the watcher -/// threads in tty.zig and gui.zig already give: the loop re-reads every marked +/// threads in tui.zig and gui.zig already give: the loop re-reads every marked /// pane anyway. pub fn wait(fd: c_int) bool { if (comptime builtin.os.tag != .macos) return false; |
