summaryrefslogtreecommitdiff
path: root/src/pty.zig
AgeCommit message (Collapse)Author
2025-10-03Zig 0.15: zig build GTK exeMitchell Hashimoto
2025-06-21Add FreeBSD support-k
Following https://github.com/cryptocode/ghostty/commit/7aeadb06ee5c38c440ac86b975d713a8ccfa3e0b
2025-03-12fix windowsMitchell Hashimoto
2025-03-12Lots of 0.14 changesMitchell Hashimoto
2025-02-03core: fix up pty Zig error setsJeffrey C. Ollie
2025-02-03core: add explicit errors to src/pty.zigJeffrey C. Ollie
2025-01-24Ignore SIGPIPEMitchell Hashimoto
Fixes #5359 The comments explain what's going on. Longer term we should adjust our termio/exec to avoid the SIGPIPE but its still possible (i.e. that thread crashes) to happen so we should be robust to it.
2025-01-23Prevent fd leaks to the running shell or commandMitchell Hashimoto
Multiple fixes to prevent file descriptor leaks: - libxev eventfd now uses CLOEXEC - linux: cgroup clone now uses CLOEXEC for the cgroup fd - termio pipe uses pipe2 with CLOEXEC - pty master always sets CLOEXEC because the child doesn't need it - termio exec now closes pty slave fd after fork There still appear to be some fd leaks happening. They seem related to GTK, they aren't things we're accessig directly. I still want to investigate them but this at least cleans up the major sources of fd leakage.
2024-09-18renderer: render lock for password inputMitchell Hashimoto
2024-09-18termio: poll termios for changesMitchell Hashimoto
2024-08-31pty: reset all signals after forkMitchell Hashimoto
2024-08-16pty: remove usingnsMitchell Hashimoto
2024-03-22update zigMitchell Hashimoto
2024-03-13fix some issuesMitchell Hashimoto
2024-01-13build: build produces a broken object file for iOSMitchell Hashimoto
This gets `zig build -Dtarget=aarch64-ios` working. By "working" I mean it produces an object file without compiler errors. However, the object file certainly isn't useful since it uses a number of features that will not work in the iOS sandbox. This is just an experiment more than anything to see how hard it would be to get libghostty working within iOS to render a terminal. Note iOS doesn't support ptys so this wouldn't be a true on-device terminal. The challenge right now is to just get a terminal rendering (not usable).
2023-11-30Update to latest masterKrzysztof Wolicki
2023-11-05pty: stylistic changesMitchell Hashimoto
2023-11-05termio: cleanupMitchell Hashimoto
2023-11-05rename Pty.zig to pty.zigMitchell Hashimoto