WWW.YOUINFO.SITE
标签聚合 Ghostty

/tag/Ghostty

v2ex · 2026-05-13 19:07:29+08:00 · tech

背景 迫于穷,私人开发机是一个破旧的 mbp15 ,不搞 opencore 的情况下只能停留在 macOS 12 版本,无法使用 Ghostty 所以尝试通过 swift 语法降级并放弃一些依赖系统高版本的功能。 使用体验 部分放弃的功能并非主线功能,所以影响不大,只要核心功能不出 bug 。 代码仓库: https://github.com/laojianzi/ghostty-monterey 从官方 issues 来看,还是有一小部分还在使用低系统的人群的,所以放出来看看对大家有没有帮助,有什么问题反馈后我会抽时间处理一下。

v2ex · 2026-05-13 09:44:06+08:00 · tech

最近用 ghostty 和 cmux 遇到很多奇怪的 bug ,warp 好用但很多功能我用不上 我烧了几天的 token ,vibe 了一个专为 AI coding 设计的 terminal —— kooky ✅一键启动 Claude Code/Codex 等各种 agent ✅ Vertical tabs + split pane ,多 Workspace 管理+分屏并行 ✅ Agent 状态展示 ✅ Git 分支/变化,Node/Python/Proxy 等各环境展示以及一键切换 ✅ 本地运行, 无云服务和功能 ✅基于 libghostty GPU 渲染,丝滑使用 欢迎大家使用体验(给我找 bug 项目已开源,可以直接下 release 包使用,也可以自己 build 魔改 🔗 https://github.com/iAmCorey/kooky

v2ex · 2026-05-13 09:44:06+08:00 · tech

最近用 ghostty 和 cmux 遇到很多奇怪的 bug ,warp 好用但很多功能我用不上 我烧了几天的 token ,vibe 了一个专为 AI coding 设计的 terminal —— kooky ✅一键启动 Claude Code/Codex 等各种 agent ✅ Vertical tabs + split pane ,多 Workspace 管理+分屏并行 ✅ Agent 状态展示 ✅ Git 分支/变化,Node/Python/Proxy 等各环境展示以及一键切换 ✅ 本地运行, 无云服务和功能 ✅基于 libghostty GPU 渲染,丝滑使用 欢迎大家使用体验(给我找 bug 项目已开源,可以直接下 release 包使用,也可以自己 build 魔改 🔗 https://github.com/iAmCorey/kooky

v2ex · 2026-05-13 09:44:06+08:00 · tech

最近用 ghostty 和 cmux 遇到很多奇怪的 bug ,warp 好用但很多功能我用不上 我烧了几天的 token ,vibe 了一个专为 AI coding 设计的 terminal —— kooky ✅一键启动 Claude Code/Codex 等各种 agent ✅ Vertical tabs + split pane ,多 Workspace 管理+分屏并行 ✅ Agent 状态展示 ✅ Git 分支/变化,Node/Python/Proxy 等各环境展示以及一键切换 ✅ 本地运行, 无云服务和功能 ✅基于 libghostty GPU 渲染,丝滑使用 欢迎大家使用体验(给我找 bug 项目已开源,可以直接下 release 包使用,也可以自己 build 魔改 🔗 https://github.com/iAmCorey/kooky

linux.do · 2026-04-29 15:17:32+08:00 · tech

原理是在 .zshrc 里 编写脚本检测当前的终端类型。 如果不是 ghostty 的话,直接呼起ghostty。 脚本如下(建议贴在最顶端) # Redirect Finder-opened Apple Terminal sessions into Ghostty. if [[ -o interactive && "${TERM_PROGRAM:-}" == "Apple_Terminal" && -z "${GHOSTTY_TERMINAL_TAKEOVER_DONE:-}" ]]; then export GHOSTTY_TERMINAL_TAKEOVER_DONE=1 __ghostty_app="/Applications/Ghostty.app" __ghostty_lock_file="${TMPDIR:-/tmp}/ghostty-terminal-takeover-${UID}.lock" : >> "$__ghostty_lock_file" 2>/dev/null if ! zmodload zsh/system 2>/dev/null || ! zsystem flock -t 0 -f __ghostty_lock_fd "$__ghostty_lock_file" 2>/dev/null; then exit 0 fi if [[ -d "$__ghostty_app" ]]; then if /usr/bin/osascript - "$PWD" <<'APPLESCRIPT' on run argv set targetDir to item 1 of argv tell application "/Applications/Ghostty.app" set cfg to new surface configuration set initial working directory of cfg to targetDir if (count of windows) is 0 then set win to new window with configuration cfg set targetTab to selected tab of win else set win to front window set targetTab to new tab in win with configuration cfg select tab targetTab end if activate window win focus (focused terminal of targetTab) end tell end run APPLESCRIPT then { sleep 1.2 /usr/bin/defaults write com.apple.Terminal NSQuitAlwaysKeepsWindows -bool false >/dev/null 2>&1 /usr/bin/defaults write com.apple.Terminal ApplePersistenceIgnoreState -bool true >/dev/null 2>&1 /usr/bin/osascript >/dev/null 2>&1 <<'APPLESCRIPT' tell application "Terminal" close every window saving no end tell APPLESCRIPT sleep 0.2 /usr/bin/pkill -x Terminal >/dev/null 2>&1 } &! exit 0 fi fi unset GHOSTTY_TERMINAL_TAKEOVER_DONE unset __ghostty_app unset __ghostty_lock_file unset __ghostty_lock_fd fi 注意 Apple Terminal会在被kill后重新启动时恢复session,如果出现了使用此指令打开了多个 ghostly 窗口的问题,可以使用如下命令行修复: defaults write com.apple.Terminal NSQuitAlwaysKeepsWindows -bool false defaults write com.apple.Terminal ApplePersistenceIgnoreState -bool true 3 个帖子 - 3 位参与者 阅读完整话题

linux.do · 2026-04-17 17:04:27+08:00 · tech

本帖使用社区开源推广,符合推广要求。我申明并遵循社区要求的以下内容: 我的帖子已经打上 开源推广 标签: 是 我的开源项目完整开源,无未开源部分: 是 我的开源项目已链接认可 LINUX DO 社区: 是 我帖子内的项目介绍,AI生成、润色内容部分已截图发出: 是 以上选择我承诺是永久有效的,接受社区和佬友监督: 是 以下为项目介绍正文内容,AI生成、润色内容已使用截图方式发出 我现在终端里面的AI窗口越来越多,同时开着一堆的 codex,cc 导致我需要不断的用鼠标点到那个窗口,或者用快捷键切过去 再按住 Fn 开始说话 虽然就两步,但点多了实在是受不了了 做这个项目的目的就是想把这个问题解决了。 现在的功能是: 长按数字键1-0(0 就是第 10 个)一次性完成切到对应窗口并且启动微信语音输入。 短按1 — 正常输入数字(不影响 shell 里打字) 长按1 — 跳到 1 号窗口并启动语音输入 松开手 — 结束 项目地址 欢迎 star / 提 issue / 提 PR 1 个帖子 - 1 位参与者 阅读完整话题