chore(tui): follow felis to the v0.1.0 release #5
Loading…
Reference in a new issue
No description provided.
Delete branch "follow-felis-v0.1.0"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Pins every felis crate to the
v0.1.0release tag on https://github.com/felis-terminal/felis (not on crates.io). The old pin was105b0899.Closes #3. That issue asked for a follow to
6da5620d, and v0.1.0 contains that commit.What broke
felis_client_core::key_encodeis gone. felis moved key encoding into the daemon, which owns the keyboard modes. felis-tui now translates each crossterm key into afelis_protocolKeyEventand sendsInputMsg::Key. It no longer encodes bytes from its shadow copy of the modes. The literal-prefix byte is still sent as rawKeyBytes.env_base::fill_for_localbecameenv_base::fill_for_carrier.The verify script touched the real daemon (separate commit)
scripts/pty_verify.pytried to isolate its daemon with a freshXDG_RUNTIME_DIRand removedFELIS_SOCKET. felis's default socket is/tmp/felis.<uid>/daemon.sock, derived from the uid alone, so each run attached to the user's real daemon and created sessions in it.The script now starts its own
felis-daemon serve --socket /tmp/felis_tui_verify_*/daemon.sock, points felis-tui at it throughFELIS_SOCKET, and stops only the process it started. It refuses to run without a daemon binary (second argument or$FELIS_DAEMON).Verification
cargo fmt --all --check,cargo clippy --all-targets --all-features -- -D warnings,cargo test --all-features(24 passed),cargo deny check: all pass.scripts/pty_verify.py target/debug <v0.1.0>/bin/felis-daemon: all 15 checks pass against a v0.1.0 daemon (typed commands, splits, truecolor, OSC 8, curly underline, OSC 66, Kitty images and placeholders). Typing now goes throughInputMsg::Key, so the echoed marker also exercises the new key path. I confirmed withpgrep -x felis-daemonbefore and after the run that the user's daemon on/tmp/felis.<uid>/daemon.sockwas neither touched nor signalled.