fix(patch): cherry-pick 9866eb0 to release/v0.25.1-pr-17166 to patch version v0.25.1 and create version 0.25.2 (#17419)

Co-authored-by: Tommaso Sciortino <sciortino@gmail.com>
This commit is contained in:
gemini-cli-robot
2026-01-23 15:32:39 -08:00
committed by GitHub
parent 29d4b1e6b8
commit 18e854c330

View File

@@ -2175,11 +2175,9 @@ export function useTextBuffer({
if (!command) {
command =
(process.env['VISUAL'] ??
process.env['VISUAL'] ??
process.env['EDITOR'] ??
process.platform === 'win32')
? 'notepad'
: 'vi';
(process.platform === 'win32' ? 'notepad' : 'vi');
}
dispatch({ type: 'create_undo_snapshot' });