mirror of
https://github.com/openai/codex.git
synced 2026-09-14 11:57:03 +00:00
tui: accept plain p in help search
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -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),
|
||||
_ => {}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user