Ctrl-u cuts the line, but Ctrl-y doesn't put it back in Vi-mode
- 主要言語
- Python
- スター
- 13.4k
- フォーク
- 612
- 平均マージ
- 6日 14時間
- マージ済み PR(30日)
- 10
説明
In Vi-mode, when using Ctrl+U to cut the current input it's impossible to use Ctrl+Y afterwards to get it back: it does nothing.
If I switch back to Emacs-mode and press Ctrl+Y, I get the data back. I can then switch back to Vi-mode.
I would expect Ctrl+Y to work the same way it works with readline, or for Ctrl+U to do nothing in Vi-mode (as the vi equivalent would be dd rather than Ctrl+U).
Version: v4.0.1
コントリビューションガイド
調査の方向性
Start by reproducing the Ctrl-U and Ctrl-Y behavior in pgcli v4.0.1 while Vi-mode is enabled, then compare it with Emacs-mode and readline behavior. Trace the CLI's Vi-mode key handling and make the expected behavior consistent; verify the result by repeating both key sequences in each mode.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 55/100