mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-09-21 16:02:20 +00:00
Update README and README.zh-CN to refine terminal description and features. Simplified language for clarity, emphasizing GPU rendering and performance metrics. Adjusted prompt feature descriptions for consistency and improved readability.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
### tty7
|
||||
|
||||
**A blazing-fast terminal in pure Rust — GPU-rendered, and built around the prompt.**
|
||||
**A fast, GPU-rendered terminal in pure Rust.**
|
||||
|
||||
<sub>GPU rendering on Zed's gpui · VT core from Alacritty</sub>
|
||||
|
||||
@@ -26,18 +26,18 @@
|
||||
|
||||
<br />
|
||||
|
||||
tty7 is a terminal that puts speed and the prompt first. Every frame renders on
|
||||
the GPU, output drains faster than any terminal we've measured — an 11 MB `cat`
|
||||
in **95 ms** — and the prompt itself does real work: inline completion, syntax
|
||||
highlighting, and flag-by-flag hints for the commands you type all day. Pure
|
||||
Rust, native on macOS, Windows, and Linux, zero configuration to get there.
|
||||
tty7 is a GPU-rendered terminal. An 11 MB `cat` finishes in **95 ms** — about
|
||||
2× faster than Alacritty, Ghostty, or Kitty on the same hardware — and the
|
||||
built-in prompt gives you inline completion, syntax highlighting, and per-flag
|
||||
hints for common commands. Pure Rust, native on macOS, Windows, and Linux, no
|
||||
configuration needed.
|
||||
|
||||
- ⚡ **Fastest in its class** — an 11 MB `cat` completes in **95 ms**, versus
|
||||
- ⚡ **Fast** — an 11 MB `cat` completes in **95 ms**, versus
|
||||
179–239 ms for Alacritty/Ghostty/Kitty; DOOM-fire renders at **888 fps**
|
||||
against their 485–617. Same machine, same grid; the harness is in the repo
|
||||
([benchmarks](#-benchmarks)).
|
||||
- ⌨️ **A prompt that helps you type** — inline completion, syntax highlighting,
|
||||
history, and in-terminal search, right where you're working. Type
|
||||
- ⌨️ **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
|
||||
from Fig's spec corpus.
|
||||
@@ -108,7 +108,8 @@ The essentials:
|
||||
| <kbd>⌘ T</kbd> · <kbd>⌘ W</kbd> · <kbd>⌘ ⇧ T</kbd> | new tab · close tab · reopen closed tab |
|
||||
| <kbd>⌘ D</kbd> · <kbd>⌘ ⇧ D</kbd> | split right · split down |
|
||||
| <kbd>⌘ ]</kbd> · <kbd>⌘ [</kbd> | next pane · previous pane |
|
||||
| <kbd>⌘ ⏎</kbd> | maximize / restore the pane |
|
||||
| <kbd>⌘ ⏎</kbd> · <kbd>⌘ ⇧ ⏎</kbd> | toggle fullscreen · maximize / restore the pane |
|
||||
| <kbd>⌘ K</kbd> | clear the screen and scrollback |
|
||||
| <kbd>⌘ P</kbd> | command palette |
|
||||
| <kbd>⌘ F</kbd> | search the scrollback |
|
||||
| <kbd>⌃ R</kbd> | reverse-search shell history |
|
||||
@@ -139,6 +140,6 @@ Bug reports and PRs are welcome. Security issues go through
|
||||
|
||||
<img src="assets/app-icon.svg" alt="" width="28" height="28" />
|
||||
|
||||
<sub><b>tty7</b> — a blazing-fast terminal in pure Rust, GPU-rendered and built around the prompt.</sub>
|
||||
<sub><b>tty7</b> — a fast, GPU-rendered terminal in pure Rust.</sub>
|
||||
|
||||
</div>
|
||||
|
||||
+11
-11
@@ -4,7 +4,7 @@
|
||||
|
||||
### tty7
|
||||
|
||||
**纯 Rust 打造的高性能终端 —— GPU 渲染,专注打磨提示符体验。**
|
||||
**纯 Rust 编写的高性能 GPU 渲染终端。**
|
||||
|
||||
<sub>GPU 渲染基于 Zed 的 gpui · VT 内核来自 Alacritty</sub>
|
||||
|
||||
@@ -26,23 +26,22 @@
|
||||
|
||||
<br />
|
||||
|
||||
tty7 只看重两件事:性能,以及顺手的提示符。它由 GPU 渲染,输出吞吐快过我们
|
||||
测过的所有终端 —— 11 MB 的 `cat` 仅需 **95 ms**;提示符也经过重新设计:内联
|
||||
补全、语法高亮,常用命令会逐个列出 flag 及其说明。纯 Rust 编写,macOS、
|
||||
Windows、Linux 均为原生构建,零配置即可上手。
|
||||
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 和子命令
|
||||
- ⌨️ **带补全的提示符** —— 内联补全、语法高亮、历史记录、终端内搜索。输入 `git commit --`、`kubectl` 或 `npm`,每个 flag 和子命令
|
||||
都会带着说明一并列出 —— 覆盖约 100 个常用命令,数据取自 Fig 的语料。
|
||||
- 🧠 **懂 shell,零配置** —— 新标签页和分屏都开在当前目录,路径补全也始终跟随
|
||||
你所在的位置。zsh、bash、fish、PowerShell 均自动接入,开箱即用。
|
||||
- 🔌 **会话不中断** —— shell 运行在后台守护进程中,关窗口、退应用、乃至换上新
|
||||
版程序,都不会中断任何一个 shell。随时断开,随时接回,无需 tmux。
|
||||
|
||||
其余该有的也没落下:标签页(拖拽重排、双击重命名、数字键切换)、可拖动分隔线
|
||||
其他功能:标签页(拖拽重排、双击重命名、数字键切换)、可拖动分隔线
|
||||
调节比例的分屏、命令面板、点击打开链接、桌面通知、焦点随鼠标移动。内置 8 套
|
||||
主题(由浅及深),系统标题栏的明暗跟随所选主题;CJK 与输入法组合输入也一并
|
||||
支持。
|
||||
@@ -99,7 +98,8 @@ tty7 以设备速度读取 PTY,并在渲染路径之外成批解析输出,
|
||||
| <kbd>⌘ T</kbd> · <kbd>⌘ W</kbd> · <kbd>⌘ ⇧ T</kbd> | 新建标签页 · 关闭标签页 · 恢复关闭的标签页 |
|
||||
| <kbd>⌘ D</kbd> · <kbd>⌘ ⇧ D</kbd> | 向右分屏 · 向下分屏 |
|
||||
| <kbd>⌘ ]</kbd> · <kbd>⌘ [</kbd> | 下一个窗格 · 上一个窗格 |
|
||||
| <kbd>⌘ ⏎</kbd> | 最大化 / 还原窗格 |
|
||||
| <kbd>⌘ ⏎</kbd> · <kbd>⌘ ⇧ ⏎</kbd> | 切换全屏 · 最大化 / 还原窗格 |
|
||||
| <kbd>⌘ K</kbd> | 清屏并清空回滚缓冲区 |
|
||||
| <kbd>⌘ P</kbd> | 命令面板 |
|
||||
| <kbd>⌘ F</kbd> | 搜索回滚缓冲区 |
|
||||
| <kbd>⌃ R</kbd> | 反向搜索 shell 历史 |
|
||||
@@ -129,6 +129,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