gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

Help screen shortcut label for new line should be "Ctrl+Enter" to match InputPrompt behavior

Open yusei-murai opened this issue 1 year ago • 1 comments

What happened?

The Help screen displayed the shortcut for inserting a new line as "Shift+Enter". However, in the actual InputPrompt implementation, a new line is inserted with "Ctrl+Enter" (or Cmd+Enter on Mac). Pressing Shift+Enter does not insert a new line.

What did you expect to happen?

I expected the Help screen to show "Ctrl+Enter" as the shortcut for inserting a new line, matching the actual behavior in the InputPrompt component.

Client information

CLI Version 0.1.1
Git Commit 852210e1 (local modifications)
Model gemini-2.5-pro
Sandbox no sandbox
OS darwin

Login information

Google Account

Anything else we need to know?

No response

yusei-murai avatar Jun 29 '25 15:06 yusei-murai

https://github.com/google-gemini/gemini-cli/pull/2043 fixed the /help command.

But there is also an open issue to make shift+enter work.

Closing as duplicate. If you think this is a different problem, please reopen with more clarifications. Thanks!

olivi-eh avatar Jul 03 '25 18:07 olivi-eh