-
-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
Description
When pasting a large amount of text into the Claude Code input in Neovim, the Claude Code window crashes and exits immediately. Upon reopening with :ClaudeCode, the terminal buffer has a persistent red background that cannot be cleared.
Steps to Reproduce
- Open Neovim
- Run
:ClaudeCodeto open Claude Code - Paste a very large text into the input field
- Claude Code crashes and exits
- Run
:ClaudeCodeagain - The Claude Code window now has a red background
Expected Behavior
The Claude Code window should display with normal colors after reopening, or gracefully handle large input without crashing.
Actual Behavior
- The window crashes when large text is pasted
- After reopening, the output area has a bright red background
- Other Neovim windows in the same session display correctly
- Workarounds like
:bd!,reset,Ctrl-l, and terminal reset escape sequences do not fix the issue
Environment
- OS: macOS (Darwin 24.6.0)
- Neovim: v0.11.5
- Claude Code version: 2.0.72
Screenshots

coderabbitai
Metadata
Metadata
Assignees
Labels
No labels