Files
tty7/assets/completions/rustc.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
10 KiB
JSON

{"description":"CLI for rustc","options":[{"names":["-h","--help"],"description":"Prints out help info","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--cfg"],"description":"Configures compilation settings","args":[{"name":"Spec","description":"Ex: verbose' or 'feature=\"serde\"'","optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["-L"],"description":"Adds a directory to the library search path","args":[{"name":"kind","description":"The kind of search path","optional":true,"variadic":false,"template":[],"suggestions":[{"names":["dependency"],"description":"Only search for transitive dependencies in this directory"},{"names":["crate"],"description":"Only search for this crate's direct dependencies in this directory"},{"names":["native"],"description":"Only search for native libraries in this directory"},{"names":["framework"],"description":"Only search for macOS frameworks in this directory"},{"names":["all"],"description":"Search for all library kinds in this directory"}],"generators":[]},{"name":"path","description":"Path to search for external crates and libraries","optional":false,"variadic":false,"template":["folders"],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--l"],"description":"Links the generated crate to a native library","args":[{"name":"kind","description":"Kind of library","optional":true,"variadic":false,"template":[],"suggestions":[{"names":["dylib"],"description":"A native dynamic library"},{"names":["static"],"description":"A native static library"},{"names":["framework"],"description":"A macOS framework"}],"generators":[]},{"name":"Name","description":"Native library name","optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--crate-type"],"description":"Specify types of crates for the compiler to emit","args":[{"name":"type","description":"Type of crates","optional":false,"variadic":false,"template":[],"suggestions":[{"names":["bin"],"description":"A runnable executable program"},{"names":["lib"],"description":"Generates a library kind preferred by the compiler"},{"names":["rlib"],"description":"A Rust static library"},{"names":["dylib"],"description":"A native dynamic library"},{"names":["cdylib"],"description":"A native static library"},{"names":["staticlib"],"description":"A macOS framework"},{"names":["proc-macro"],"description":"Generates a format suitable for a procedural macro library that may be loaded by the compiler"}],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--crate-name"],"description":"Specify the name of the crate being built","args":[{"name":"Name","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--edition"],"description":"Specify the edition to use","args":[{"name":"edition","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[{"names":["2015"],"description":null},{"names":["2018"],"description":null},{"names":["2021"],"description":null}],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--emit"],"description":"Specify the types of output files to generate","args":[{"name":"type","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[{"names":["asm"],"description":"Generates a file with the crate's assembly code"},{"names":["llvm-bc"],"description":"Generates a binary file containing the LLVM bitcode"},{"names":["llvm-ir"],"description":"Generates a file containing LLVM IR"},{"names":["obj"],"description":"Generates a native object file"},{"names":["metadata"],"description":"Generates a file containing metadata about the crate"},{"names":["link"],"description":"Generates the crates specified by --crate-type"},{"names":["dep-info"],"description":"Generates a file with Makefile syntax that indicates all the source files that were loaded to generate the crate"},{"names":["mir"],"description":"Generates a file containing rustc's mid-level intermediate representation"}],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--print"],"description":"Prints compiler info","args":[{"name":"type","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[{"names":["crate-name"],"description":"The name of the crate"},{"names":["file-names"],"description":"The names of the files created by the link emit kind"},{"names":["sysroot"],"description":"Path to the sysroot"},{"names":["target-libdir"],"description":"Path to the target libdir"},{"names":["cfg"],"description":"List of cfg values"},{"names":["target-list"],"description":"List of known targets. The target may be selected with the --target flag"},{"names":["target-cpus"],"description":"List of available CPU values for the current target"},{"names":["target-features"],"description":"List of available target features for the current target"},{"names":["relocation-models"],"description":"List of relocation models. Relocation models may be selected with the -C relocation-model=val flag"},{"names":["code-models"],"description":"List of code models"},{"names":["tls-models"],"description":"List of Thread Local Storage models supported"},{"names":["target-spec-json"],"description":null},{"names":["native-static-libs"],"description":"This may be used when creating a staticlib crate type"}],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["-g"],"description":"Synonym for -C debuginfo=2","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-O"],"description":"Synonym for -C opt-level=2","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-o"],"description":"Specify the filename to write output","args":[{"name":"filename","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--out-dir"],"description":"Specify directory to write output","args":[{"name":"dir","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--explain"],"description":"Provides a detailed explanation of an error message","args":[{"name":"Error Code","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--test"],"description":"Builds a test harness","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--target"],"description":"Selects a target triple to build","args":[{"name":"Target","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["-W","--warn"],"description":"Sets lint warnings","args":[{"name":"OPT","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["-A","--allow"],"description":"Set lint allowed","args":[{"name":"OPT","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["-D","--deny"],"description":"Set lint denied","args":[{"name":"OPT","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["-F","--forbid"],"description":"Set lint forbid","args":[{"name":"Opt","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--cap-lints"],"description":"Set the most restrictive lint level","args":[{"name":"Level","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["-C","--codegen"],"description":"Set a codegen option","args":[{"name":"option","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["-Z"],"description":"Set unstable options","args":[{"name":"option","description":"Unstable options to pass to rustc","optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["-V","--version"],"description":"Prints version","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["-v","--verbose"],"description":"Use verbose output","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--extern"],"description":"Specify where an external library is located","args":[{"name":"Path","description":"Path where crate(s) can be found","optional":false,"variadic":false,"template":["folders"],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--sysroot"],"description":"Overrides the system root","args":[{"name":"directory","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--error-format"],"description":"Controls how errors are produced","args":[{"name":"format","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[{"names":["human"],"description":null},{"names":["json"],"description":null},{"names":["short"],"description":null}],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--color"],"description":"Configures coloring of output","args":[{"name":"color","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[{"names":["auto"],"description":null},{"names":["always"],"description":null},{"names":["never"],"description":null}],"generators":[]}],"required":false,"repeatable":false,"hidden":false}],"args":[{"name":"filepath","description":null,"optional":false,"variadic":false,"template":["filepaths"],"suggestions":[],"generators":[]}],"subcommands":[],"name":"rustc"}