mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-16 04:50:29 -07:00
Fix shift+return in vscode. (#12799)
This commit is contained in:
committed by
GitHub
parent
4774384583
commit
94e2bc2e15
@@ -68,7 +68,7 @@ function bufferBackslashEnter(
|
||||
|
||||
if (key == null) {
|
||||
continue;
|
||||
} else if (key.name !== '\\') {
|
||||
} else if (key.sequence !== '\\') {
|
||||
keypressHandler(key);
|
||||
continue;
|
||||
}
|
||||
@@ -84,7 +84,7 @@ function bufferBackslashEnter(
|
||||
keypressHandler(key);
|
||||
} else if (nextKey.name === 'return') {
|
||||
keypressHandler({
|
||||
...key,
|
||||
...nextKey,
|
||||
shift: true,
|
||||
sequence: '\r', // Corrected escaping for newline
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user