tui: shorten slash help close hint

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Charles Cunningham
2026-03-15 23:32:51 -07:00
co-authored by Codex
parent 0727144012
commit 56c7646161
2 changed files with 2 additions and 6 deletions
+1 -5
View File
@@ -226,11 +226,7 @@ impl SlashHelpView {
if !self.search.active_query.is_empty() {
spans.push("n/p match ".dim());
}
spans.extend([
"q/".dim(),
key_hint::plain(KeyCode::Esc).into(),
" close".dim(),
]);
spans.extend([key_hint::plain(KeyCode::Esc).into(), " close".dim()]);
Line::from(spans)
}
@@ -240,4 +240,4 @@ expression: popup
/debug-m-drop
↑/↓ scroll ctrl + p/ctrl + n page / search q/esc close 1-232/239
↑/↓ scroll ctrl + p/ctrl + n page / search esc close 1-232/239