tui: accept plain p in help search

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Charles Cunningham
2026-03-15 23:36:33 -07:00
co-authored by Codex
parent f701d9e056
commit ef28639b6e
4 changed files with 12 additions and 7 deletions
+7 -2
View File
@@ -389,8 +389,13 @@ impl BottomPaneView for SlashHelpView {
..
} => self.move_to_match(1),
KeyEvent {
code: KeyCode::Char('p' | 'N'),
modifiers: KeyModifiers::NONE | KeyModifiers::SHIFT,
code: KeyCode::Char('p'),
modifiers: KeyModifiers::NONE,
..
}
| KeyEvent {
code: KeyCode::Char('N'),
modifiers: KeyModifiers::SHIFT,
..
} => self.move_to_match(-1),
_ => {}
+1 -1
View File
@@ -5620,7 +5620,7 @@ impl ChatWidget {
| SlashCommand::Exit
| SlashCommand::Rollout
| SlashCommand::Ps
| SlashCommand::Clean
| SlashCommand::Stop
| SlashCommand::Clear
| SlashCommand::Realtime
| SlashCommand::TestApproval
@@ -187,10 +187,10 @@ expression: popup
Usage:
/ps
/clean
/stop
stop all background terminals
Usage:
/clean
/stop
/clear
clear the terminal and start a new chat
@@ -187,10 +187,10 @@ expression: searching
Usage:
/ps
/clean
/stop
stop all background terminals
Usage:
/clean
/stop
/clear
clear the terminal and start a new chat