You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Issues with redraw and terminal hiding after a few interactions with Claude #298
I was not able to find the exactly moment in my workflow the issues happens, but they are:
At some point the terminal input just stops to draw and the cursor is placed in some random position in the terminal window. A few things i do try to fix it:
Esc+i (i noticed that it enters in normal mode sometimes) or Ctrl+l (or both)
ToggleFocus
Quit the entire session and start the terminal again
When Claude starts to "think" (when understanding your prompt, working through requested changes or finishing your changes to present a summary) if I use my ToggleFocus shortcut <ctrl>+, i can't bring the terminal back again. I need to press Esc twice which end up interrupting the session.
To Reproduce
Steps to reproduce the behavior:
Install neovim, LazyVim, enable claudecode.nvim from extras and use the configuration i mentioned above.
My workflow with Claude is:
/model -> opus
/plan
Interact with Claude prompts or press Esc to add information.
Esc
/model -> sonnet
Shift+Tab to change to accept edits on
Proceed
Between the steps 1-6, try to toggle focus (always wait for Claude to pause and ask something or finish the current thinking)
During the step 7 try to ToggleFocus the window.
Again, it's a bit random the moment above issues start to happen.
Expected Behavior
Consistent (re)draw of window where the input field is always visible and the cursos placed in it
Being able to ToggleFocus even during Claude thinking.
I just discovered that #279 will probably fix one of my issues (the (re)draw one):
* keep_terminal_focus now works for floating Snacks terminals instead of stealing focus to the hidden diff split (https://github.com/coder/claudecode.nvim/pull/178).
* Fixed the Snacks "climbing cursor" on hide/show toggle: the panel is now parked rather than destroyed, preserving the cursor anchor Claude re-renders against (splits on all versions; floats require Neovim >= 0.10) (https://github.com/coder/claudecode.nvim/pull/271).
Activity
giulianisanches commentedon Jul 2, 2026
I just discovered that #279 will probably fix one of my issues (the (re)draw one):