fix(ux) bug in replaceRange dealing with newLines that was breaking vim support (#5320)

This commit is contained in:
Jacob Richman 2025-07-31 16:16:29 -07:00 committed by GitHub
parent 32809a7be7
commit 61e382444a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 204 additions and 98 deletions

View file

@ -53,8 +53,10 @@ export const createMockCommandContext = (
setPendingItem: vi.fn(),
loadHistory: vi.fn(),
toggleCorgiMode: vi.fn(),
toggleVimEnabled: vi.fn(),
},
session: {
sessionShellAllowlist: new Set<string>(),
stats: {
sessionStartTime: new Date(),
lastPromptTokenCount: 0,