SuperAPI AI 工具集

ghostty

通用与其它

查看项目

更新于 10-15 21:09

技能介绍

用途:从命令行控制与配置 Ghostty 终端模拟器,适合需要脚本化或快捷操作终端窗口、标签页、分屏、字体和配置的场景。

主要能力:窗口与标签页管理(+new-window、+new-tab);分屏创建与导航(+new-split:right、+new-split:down、+goto-split:up/down/left/right);关闭当前 surface(+close-surface);切换全屏(+toggle-fullscreen);字体调整(+increase-font-size:1、+decrease-font-size:1、+reset-font-size、+list-fonts);配置查看、校验与热重载(+show-config、+validate-config、+reload-config);列出主题与快捷键(+list-themes、+list-keybinds)。

使用方式:CLI 位于 /Applications/Ghostty.app/Contents/MacOS/ghostty,或已符号链接为 ghostty。可用 ghostty +list-actions 查看动作,ghostty --version 查看版本。启动选项包括 --config-file=/path/to/config、-e "htop"、--working-directory=/path/to/dir。配置文件位于 ~/.config/ghostty/config。

远程 SSH 排障:按数字小键盘 Enter 出现 [57414u 乱码时,可执行 infocmp -x xterm-ghostty | ssh user@server 'mkdir -p ~/.terminfo && tic -x -o ~/.terminfo -';无 terminfo 权限时可用 alias myserver='TERM=xterm-256color ssh user@myserver'。

限制:资料未提供平台支持范围、版本要求、收费情况与更多细节,暂未提供。