Terminal flooded with raw mouse tracking escape sequences upon quitting wizard (Ghostty)
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- typescript
- 領域
- cli
調査の方向性
TAILCODEを起動し、初期のガイド付きセットアップ画面でqを押して終了し、プロンプトが戻った後にマウスを動かして問題を再現します。TypeScriptウィザードの終了およびターミナルのteardown経路を追跡します。シェルが戻った後にマウス追跡用のエスケープシーケンスが出力されなければ完了です。
索引モデルが issue の本文から書いたものです。
説明
Description:
When attempting to quit the TAILCODE wizard, the application exits but fails to clean up the terminal state. Specifically, it appears to leave mouse reporting enabled, resulting in the terminal being flooded with raw escape sequences as the mouse is moved.
Installation:
# Linux (x64)
curl -L -o tailcode https://github.com/kitlangton/tailcode/releases/latest/download/tailcode-linux-x64
chmod +x tailcode
./tailcode
Environment:
-
OS: Arch Linux
-
Terminal: Ghostty
Steps to Reproduce:
Launch TAILCODE.
At the initial "Guided setup for OpenCode over Tailscale" screen, press q to quit.
Move the mouse around the terminal window.
Expected Behavior:
The application should exit cleanly and restore the terminal to its normal state, which includes sending the proper ANSI escape codes to disable mouse reporting (e.g., CSI ? 1000 l or 1003 l).
Actual Behavior:
The terminal prompt returns, but moving the mouse dumps a continuous stream of raw tracking characters (e.g., 35;69M22;71M33;71M...) directly into standard output, leaving the terminal in a dirty state.
Additional Context:
I have attached a screen recording demonstrating the issue. It looks like the TUI library being used is either crashing on exit or missing the teardown hook to reset the terminal's raw mode and mouse tracking before returning control to the shell.
https://github.com/user-attachments/assets/db7311d0-0f17-40e0-b45a-7a1bdd1cb0a4
- 主要言語
- TypeScript
- スター
- 307
- フォーク
- 15
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
endora-commerce/endora-commerce#397 ·
メンテナーはふだん 1 日以内に返信
-
level/task
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
wazuh/wazuh-dashboard-plugins#9472 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
メンテナーはふだん 1 日以内に返信
-
ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
xavxyz/bei-shan-lin-shui#57 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
opennextjs/opennextjs-cloudflare#1461 ·
メンテナーはふだん 1 日以内に返信