Make submit shortcut configurable (or change default from `Ctrl+S`)
まだ誰も着手していません。
評価
調査の方向性
まず、stack の送信用 UI と現在の Ctrl+S ショートカットの handler を見つけ、次に gh-stack がターミナル入力をどのように受け取るかを確認します。提案に基づいてサポートする binding の動作を決定し、Ctrl+S に依存せず、選択したショートカットで送信が機能することを確認します。
索引モデルが issue の本文から書いたものです。
説明
Summary
In the stack submission UI, Ctrl+S is used to submit to GitHub. Could we make this shortcut configurable (and/or consider a different default)?
Problem
Ctrl+S commonly maps to "save" in many terminal editors/tools, and in some terminal environments it can conflict with user expectations or existing keybindings. This can lead to accidental submissions or friction when switching contexts. In my case I was unable to submit my stack since Ctrl+S is being hijacked by my terminal and the gh TUI was never able to receive it.
Proposal
One of the following (in order of preference):
- Add configurable keybindings for TUI actions (including submit), with a sensible default.
- Keep
Ctrl+Sas an optional binding but add an additional default (e.g.Enteron focused submit,Ctrl+Enter, orsin a specific mode). - If full keybinding customization is out of scope, switch the default submit shortcut to a less collision-prone key combo.
Additional context
Current behavior observed in stack submission flow where Ctrl+S triggers submit.
- 主要言語
- Go
- スター
- 1.5k
- フォーク
- 73
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 7
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/gh-stack のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
-
feature request topic: cli - general
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
feature request topic: auto-merge
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
bug topic: docs
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
github/gh-stack の issue をすべて見る
似ている issue
-
textual definition
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
geneontology/go-ontology#32653 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
-
needs design
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
Priority/High ready-for-agent Severity/Major Type/Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100