- Zig 100%
|
|
||
|---|---|---|
| src | ||
| .gitignore | ||
| build.zig | ||
| build.zig.zon | ||
| LICENSE | ||
| README.md | ||
attaché
Your terminal attaché.
Session persistence with scrollback. No magic.
What it does
Like dtach, but remembers what happened while you were away.
Maintains a circular buffer of your session's output. When you reconnect, you see the recent history. Everything else stays out of your way.
Usage
# Create or attach to a session
attache attach mywork
# List sessions
attache list
# Detach from inside a session
attache detach
That's it.
Keybindings Only two keybindings.
C-\ .-> detach from sessionC-\ C-\-> send literalC-\to your session
Easy to learn. You know it already.
C-\ was chosen deliberately. It sends SIGQUIT in POSIX systems and that's
actually perfect. Because it has special OS-level meaning, applications avoid
binding it, giving us a stable prefix that won't conflict with shells, editors,
or TUIs. Other prefix keys like C-a (screen, readline) or C-b (tmux,
readline) break everyday shell editing. C-\ doesn't. And when you need the
actual SIGQUIT? Just press C-\ C-\.
No configuration means consistency everywhere. Always. This matters especially on remote and embedded devices where multiple users connect to the same system. Everyone sees the same behavior, no surprises, no per-user configs to sync or troubleshoot.
Why Terminal multiplexers break modern terminal protocols. Minimal tools
like dtach don't keep history. This does both: minimal design, with memory.
Created with Zig as an excuse to learn it.
License
SPDX-License-Identifier: AGPL-3.0-only Copyright (C) 2025 Eric Seuret