fix(paste) incorrect handling of \\\n in pastes (#6532)

This commit is contained in:
Jacob Richman 2025-08-19 13:41:08 -07:00 committed by GitHub
parent ed1fc4ddb3
commit 2143731f6e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 120 additions and 60 deletions

View file

@ -239,6 +239,12 @@ export const InputPrompt: React.FC<InputPromptProps> = ({
return;
}
if (key.paste) {
// Ensure we never accidentally interpret paste as regular input.
buffer.handleInput(key);
return;
}
if (vimHandleInput && vimHandleInput(key)) {
return;
}