Skip to content

zeropty 0.1.1

Choose a tag to compare

@CreatiCoding CreatiCoding released this 20 Oct 14:33
· 23 commits to main since this release

Fixed

  • zeropty-tty: the shim treated any program's fds 0-2 as a terminal, so a program whose stdout was piped or redirected got \e]zeropty-tty;N\a mode signals mixed into that output, a program reading /dev/null as stdin failed (kqueue EINVAL), and children inherited the effect. Now only the session's own pipe and socket count, named by the server in the new ZEROPTY_TTY_ID variable, and mode signals go only to the session's output.
  • zeropty-tty: the signed copy took the name of the link's target (claude ran as claude.exe), so ps and pgrep claude did not find it. A program, copied or not, now runs under the name it was run by.
  • display-message with -t naming a session that does not exist now prints the format with the session's variables empty and exits 0, as tmux does, instead of failing with exit 1. To test whether a session exists, use has-session. Every other command still fails with exit 1, as in tmux.
  • A missing -t target is now reported in tmux's words. Without a :, a bare name gives can't find pane: x (capture-pane, send-keys, pipe-pane, paste-buffer, resize-pane) or can't find window: x (resize-window), an id gives the session, window or pane error for $, @ or %, and x.0 gives can't find window: x; set-environment gives no such session: and the target as given. Exit codes are unchanged (1).

Full changes: v0.1.0...v0.1.1

CHANGELOG · 한국어 · Versioning