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:21:55 -07:00
parent f701d9e056
commit ef28639b6e
4 changed files with 12 additions and 7 deletions

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),
_ => {}

View File

@@ -5620,7 +5620,7 @@ impl ChatWidget {
| SlashCommand::Exit
| SlashCommand::Rollout
| SlashCommand::Ps
| SlashCommand::Clean
| SlashCommand::Stop
| SlashCommand::Clear
| SlashCommand::Realtime
| SlashCommand::TestApproval

View File

@@ -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

View File

@@ -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