Update input mode controls: adjust shortcuts, revise display titles, and remove Shift+Enter instructions.

This commit is contained in:
2025-09-28 02:30:48 +02:00
parent 7e975cc23e
commit 9de24f7de6

View File

@@ -413,7 +413,7 @@ fn render_messages(frame: &mut Frame<'_>, area: Rect, app: &ChatApp) {
fn render_input(frame: &mut Frame<'_>, area: Rect, app: &ChatApp) { fn render_input(frame: &mut Frame<'_>, area: Rect, app: &ChatApp) {
let title = match app.mode() { let title = match app.mode() {
InputMode::Editing => " Input (Enter=send · Shift+Enter/Ctrl+J=newline) ", InputMode::Editing => " Input (Enter=send · Ctrl+J=newline · Esc=exit input mode) ",
_ => " Input (Press 'i' to start typing) ", _ => " Input (Press 'i' to start typing) ",
}; };
@@ -637,7 +637,6 @@ fn render_help(frame: &mut Frame<'_>) {
Line::from("Controls:"), Line::from("Controls:"),
Line::from(" i / Enter → start typing"), Line::from(" i / Enter → start typing"),
Line::from(" Enter → send message"), Line::from(" Enter → send message"),
Line::from(" Shift+Enter → newline"),
Line::from(" Ctrl+J → newline"), Line::from(" Ctrl+J → newline"),
Line::from(" m → select model"), Line::from(" m → select model"),
Line::from(" n → new conversation"), Line::from(" n → new conversation"),