Files
tty7/assets/completions/python.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
5.4 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{"description":"Run the python interpreter","options":[{"names":["-c"],"description":"Execute the Python code in command. command can be one or more statements separated by newlines, with significant leading whitespace as in normal module code","args":[{"name":"command","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["-m"],"description":"Module","args":[{"name":"python module","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[{"names":["http.server"],"description":null}],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["-?","-h","--help"],"description":"Print a short description of all command line options","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-V","--version"],"description":"Print the Python version number and exit","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-b"],"description":"Issue a warning when comparing bytes or bytearray with str or bytes with int. Issue an error when the option is given twice (-bb)","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-B"],"description":"If given, Python wont try to write .pyc files on the import of source modules","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--check-hash-based-pycs"],"description":"Control the validation behavior of hash-based .pyc files. See Cached bytecode invalidation","args":[{"name":null,"description":null,"optional":false,"variadic":false,"template":[],"suggestions":[{"names":["default"],"description":null},{"names":["always"],"description":null},{"names":["never"],"description":null}],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["-d"],"description":"Turn on parser debugging output (for expert only, depending on compilation options)","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-E"],"description":"Ignore all PYTHON* environment variables, e.g. PYTHONPATH and PYTHONHOME, that might be set","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-i"],"description":"When a script is passed as first argument or the -c option is used, enter interactive mode after executing the script or the command, even when sys.stdin does not appear to be a terminal","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-I"],"description":"Run Python in isolated mode. This also implies -E and -s. In isolated mode sys.path contains neither the scripts directory nor the users site-packages directory","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-O"],"description":"Remove assert statements and any code conditional on the value of __debug__","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-OO"],"description":"Do -O and also discard docstrings","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-g"],"description":"Dont display the copyright and version messages even in interactive mode","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-R"],"description":"Turn on hash randomization. This option only has an effect if the PYTHONHASHSEED environment variable is set to 0, since hash randomization is enabled by default","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-s"],"description":"Dont add the user site-packages directory to sys.path","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-S"],"description":"Disable the import of the module site and the site-dependent manipulations of sys.path that it entails","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-u"],"description":"Force the stdout and stderr streams to be unbuffered. This option has no effect on the stdin stream","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-v"],"description":"Print a message each time a module is initialized, showing the place (filename or built-in module) from which it is loaded","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-W"],"description":"Warning control. Pythons warning machinery by default prints warning messages to sys.stderr","args":[{"name":null,"description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["-x"],"description":"Skip the first line of the source, allowing use of non-Unix forms of #!cmd. This is intended for a DOS specific hack only","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-X"],"description":"Reserved for various implementation-specific options","args":[{"name":null,"description":null,"optional":false,"variadic":false,"template":[],"suggestions":[{"names":["faulthandler"],"description":null},{"names":["showrefcount"],"description":null},{"names":["tracemalloc"],"description":null},{"names":["showalloccount"],"description":null},{"names":["importtime"],"description":null},{"names":["dev"],"description":null},{"names":["utf8"],"description":null},{"names":["pycache_prefix=PATH"],"description":null}],"generators":[]}],"required":false,"repeatable":false,"hidden":false}],"args":[{"name":"python script","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"subcommands":[],"name":"python"}