mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-09-21 16:02:20 +00:00
docs: update README and README.zh-CN to refine terminal description
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
### tty7
|
||||
|
||||
**A fast, GPU-rendered terminal in pure Rust.**
|
||||
**A GPU-rendered terminal in pure Rust.**
|
||||
|
||||
<sub>GPU rendering on Zed's gpui · VT core from Alacritty</sub>
|
||||
|
||||
@@ -40,7 +40,7 @@ configuration needed.
|
||||
- ⌨️ **Prompt with completions** — inline completion, syntax highlighting,
|
||||
history, and in-terminal search. Type
|
||||
`git commit --`, `kubectl`, or `npm` and every flag and subcommand shows up
|
||||
with its description — rich signatures for ~100 common commands, generated
|
||||
with its description — signatures for ~100 common commands, generated
|
||||
from Fig's spec corpus.
|
||||
- 🧠 **Shell-aware, zero config** — new tabs and splits open in the current
|
||||
working directory, and path completion always follows where you are. zsh,
|
||||
@@ -90,7 +90,7 @@ run it yourself.
|
||||
|
||||
## 🚀 Install
|
||||
|
||||
Grab the build for your platform from [**Releases**](https://github.com/l0ng-ai/tty7/releases):
|
||||
Download the build for your platform from [**Releases**](https://github.com/l0ng-ai/tty7/releases):
|
||||
|
||||
- **macOS** — `tty7-<version>-macos-arm64.dmg` (Apple Silicon) or `…-x86_64.dmg`
|
||||
(Intel); open it and drag `tty7.app` into Applications.
|
||||
@@ -129,8 +129,8 @@ The full list — and any overrides — lives in **Settings → Keybindings**.
|
||||
|
||||
## 🤝 Contributing
|
||||
|
||||
Bug reports and PRs are welcome. Questions, ideas, or just want to say hi? Come
|
||||
hang out on [Discord](https://discord.gg/s3dethqz2V). Notable changes land in the
|
||||
Bug reports and PRs are welcome. For questions and ideas, join the
|
||||
[Discord](https://discord.gg/s3dethqz2V). Notable changes land in the
|
||||
[CHANGELOG](CHANGELOG.md).
|
||||
|
||||
## 📝 License
|
||||
@@ -143,6 +143,6 @@ hang out on [Discord](https://discord.gg/s3dethqz2V). Notable changes land in th
|
||||
|
||||
<img src="assets/app-icon.svg" alt="" width="28" height="28" />
|
||||
|
||||
<sub><b>tty7</b> — a fast, GPU-rendered terminal in pure Rust.</sub>
|
||||
<sub><b>tty7</b> — a GPU-rendered terminal in pure Rust.</sub>
|
||||
|
||||
</div>
|
||||
|
||||
+8
-8
@@ -4,7 +4,7 @@
|
||||
|
||||
### tty7
|
||||
|
||||
**纯 Rust 编写的高性能 GPU 渲染终端。**
|
||||
**纯 Rust 编写的 GPU 渲染终端。**
|
||||
|
||||
<sub>GPU 渲染基于 Zed 的 gpui · VT 内核来自 Alacritty</sub>
|
||||
|
||||
@@ -27,18 +27,18 @@
|
||||
|
||||
<br />
|
||||
|
||||
tty7 是一款 GPU 渲染的终端。11 MB 的 `cat` 仅需 **95 ms**,大约是
|
||||
tty7 是一款 GPU 渲染的终端。11 MB 的 `cat` 用时 **95 ms**,大约是
|
||||
Alacritty、Ghostty、Kitty 的两倍速度(同一台机器);内置提示符提供内联补全、
|
||||
语法高亮,以及常用命令的逐 flag 说明。纯 Rust 编写,macOS、Windows、Linux
|
||||
均为原生构建,无需额外配置。
|
||||
|
||||
- ⚡ **快** —— 11 MB 的 `cat` 只花 **95 ms**,Alacritty/Ghostty/Kitty
|
||||
- ⚡ **快** —— 11 MB 的 `cat` 花 **95 ms**,Alacritty/Ghostty/Kitty
|
||||
要 179–239 ms;DOOM-fire 跑到 **888 fps**,它们在 485–617 之间。同一台机器、
|
||||
同一网格测出来的,脚本就在仓库里(见[基准测试](#-基准测试))。
|
||||
- ⌨️ **带补全的提示符** —— 内联补全、语法高亮、历史记录、终端内搜索。输入 `git commit --`、`kubectl` 或 `npm`,每个 flag 和子命令
|
||||
都会带着说明一并列出 —— 覆盖约 100 个常用命令,数据取自 Fig 的语料。
|
||||
- 🧠 **懂 shell,零配置** —— 新标签页和分屏都开在当前目录,路径补全也始终跟随
|
||||
你所在的位置。zsh、bash、fish、PowerShell 均自动接入,开箱即用。
|
||||
你所在的位置。zsh、bash、fish、PowerShell 均自动接入。
|
||||
- 🔌 **会话不中断** —— shell 运行在后台守护进程中,关窗口、退应用、乃至换上新
|
||||
版程序,都不会中断任何一个 shell。随时断开,随时接回,无需 tmux。
|
||||
|
||||
@@ -61,7 +61,7 @@ macOS、Windows、Linux 三个平台都有原生构建,每个 release 一起
|
||||
|
||||
## 📊 基准测试
|
||||
|
||||
四款终端在同一台机器上一口气测完,网格统一为 155×40 —— Apple M1 Pro,
|
||||
四款终端在同一台机器上依次测完,网格统一为 155×40 —— Apple M1 Pro,
|
||||
macOS 26.3.1,取五次运行的平均值(2026-07-04):
|
||||
|
||||
| | **tty7** | Alacritty | Ghostty | Kitty |
|
||||
@@ -118,8 +118,8 @@ tty7 以设备速度读取 PTY,并在渲染路径之外成批解析输出,
|
||||
|
||||
## 🤝 参与贡献
|
||||
|
||||
欢迎提 bug 和 PR。有问题、有想法,或者只是想唠两句,欢迎来
|
||||
[Discord](https://discord.gg/s3dethqz2V) 一起玩。重要改动都记在
|
||||
欢迎提 bug 和 PR。有问题、有想法,欢迎来
|
||||
[Discord](https://discord.gg/s3dethqz2V) 交流。重要改动都记在
|
||||
[CHANGELOG](CHANGELOG.md)。
|
||||
|
||||
## 📝 许可证
|
||||
@@ -132,6 +132,6 @@ tty7 以设备速度读取 PTY,并在渲染路径之外成批解析输出,
|
||||
|
||||
<img src="assets/app-icon.svg" alt="" width="28" height="28" />
|
||||
|
||||
<sub><b>tty7</b> —— 纯 Rust 编写的高性能 GPU 渲染终端。</sub>
|
||||
<sub><b>tty7</b> —— 纯 Rust 编写的 GPU 渲染终端。</sub>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user