mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-02-01 22:48:03 +00:00
Emit correct newline type return (#17331)
This commit is contained in:
committed by
GitHub
parent
233fe90f17
commit
addb57c31f
@@ -219,7 +219,7 @@ describe('KeypressContext', () => {
|
||||
name: 'return',
|
||||
sequence: '\r',
|
||||
insertable: true,
|
||||
shift: false,
|
||||
shift: true,
|
||||
alt: false,
|
||||
ctrl: false,
|
||||
cmd: false,
|
||||
|
||||
@@ -158,6 +158,10 @@ function bufferFastReturn(keypressHandler: KeypressHandler): KeypressHandler {
|
||||
keypressHandler({
|
||||
...key,
|
||||
name: 'return',
|
||||
shift: true, // to make it a newline, not a submission
|
||||
alt: false,
|
||||
ctrl: false,
|
||||
cmd: false,
|
||||
sequence: '\r',
|
||||
insertable: true,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user