Files
tty7/assets/completions/sudo.json
l0ng-ai 22e1ab1694 tty7: a GPU-rendered, daemon-backed terminal in pure Rust
tty7 is split into two Rust processes: a persistent daemon that owns the
shells and a GPU-rendered client that talks to it over a local socket.
Because the shells live in the daemon, quitting and reopening the app
leaves the session intact — detach and reattach, no tmux required.

- Persistent sessions — the daemon holds the PTYs and child processes, so
  closing a window or swapping in a new build never takes a shell down.
- Performance — an 11 MB `cat` completes in 95 ms and DOOM-fire renders at
  888 fps; the daemon drains the PTY at device speed off the render path.
- Shell-aware — new tabs and splits open in the current working directory;
  zsh, bash, fish, and PowerShell are set up automatically.
- Enhanced prompt — inline completion, syntax highlighting, history, and
  in-terminal search, with rich flag/subcommand signatures for common tools.
- Tabs, resizable splits, a command palette, click-to-open links, desktop
  notifications, eight themes, and CJK/IME input.

Native builds for macOS, Windows, and Linux.
Built on Zed's gpui and Alacritty's VT core.
2026-07-06 21:54:27 +08:00

1 line
962 B
JSON

{"description":"Execute a command as the superuser or another user","options":[{"names":["-g","--group"],"description":"Run command as the specified group name or ID","args":[{"name":"group","description":"Group name or ID","optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["-h","--help"],"description":"Display help message and exit","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-u","--user"],"description":"Run command as specified user name or ID","args":[{"name":"user","description":"User name or ID","optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false}],"args":[{"name":"command","description":"Command to run with elevated permissions","optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"subcommands":[],"name":"sudo"}