mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-09-22 00:02:23 +00:00
Replace the orange window-and-cursor identity with the "Duo" mark: two offset session panes (mint #3FDD8C behind, ink #17171A in front) with a prompt chevron, on a cream tile following the Big Sur icon grid. - app-icon.svg is the master; app-icon.png, tty7.icns and favicon.ico are re-rendered from it (rsvg-convert + iconutil + PIL) - logo.svg/logo.png/logo@256.png carry the tile-less transparent mark - tray.svg redrawn as the same mark in template form: solid front pane with the chevron masked out, back pane at partial alpha - bare (non-bundled) macOS binaries now set the Dock icon at runtime via NSApplication.setApplicationIconImage, so cargo dev/run shows the logo instead of the generic executable icon - README version badge and the social preview switch to the new brand green; social preview copy re-aligned with the current README slogan
3.3 KiB
3.3 KiB
tty7
终端工作台:shell、会话、SSH、coding agent。
纯 Rust · GPU 渲染基于 Zed 的 gpui · VT 内核来自 Alacritty
English · 简体中文
为什么
- 快 —— 吞吐约为 Alacritty、Ghostty、Kitty 的 2 倍(基准测试)
- 会话常驻 —— 退应用、重启机器,shell 照样运行;无需 tmux
- 编辑器级输入 —— 补全、语法高亮、历史搜索内置;zsh、bash、fish、PowerShell 零配置
- 认识 agent —— 识别 pane 里的 Claude Code 等:状态、通知、会话恢复
安装
三平台原生构建都在 Releases:
| macOS | …-macos-arm64.dmg · …-x86_64.dmg |
拖进「应用程序」 |
| Windows | …-setup.exe · 便携版 ….zip |
|
| Linux | …-x86_64.AppImage |
chmod +x 直接跑,x11/wayland 依赖已打包 |
有什么
| 输入 | 历史影子建议 · 带说明的 Tab 补全 · 语法高亮 · 多行编辑 · 点击定位光标 · ⌃ R 模糊历史搜索 |
| 窗口 | 标签页与分屏 · ⌘ P 命令面板 · ⌘ F 回滚搜索 · 8 套主题 · 输入法 |
| Coding agent | 按 pane 识别约 17 个 CLI agent:状态点、通知、分支 + diff、重启后续上会话、托盘图标提醒"等你输入" |
| SSH | 原生 russh 栈:profile 凭据进 keychain、SFTP 面板、端口转发、跳板机 |
每一行的细节见 docs/features.zh-CN.md。快捷键:⌘ , 打开设置,可查看、重绑全部键位,含 tmux 预设(完整列表)。
基准测试
同一台机器、同一天、统一 155×40 网格 —— Apple M1 Pro,macOS 26.3.1, 取五次运行的平均值(2026-07-04):
| tty7 | Alacritty | Ghostty | Kitty | |
|---|---|---|---|---|
纯文本 IO —— 11 MB cat (越低越好) |
95 ms | 239 ms | 179 ms | 185 ms |
| DOOM-fire 帧率 (越高越好) | 888 fps | 485 fps | 552 fps | 617 fps |
| 冷启动内存 | 116 MB¹ | 105 MB | 128 MB | 130 MB |
¹ GUI 105 MB + 常驻守护进程 11 MB。
测试方法与一键复现脚本:scripts/bench/。
基于 gpui 与 alacritty_terminal 构建 · Apache-2.0 · Discord · 更新日志