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
In all the 1.x versions when you navigate away from the terminal tab with opencode and return back the last message is reverted, this is annoying. Sometimes I let opencode to do the work and produce an answer and I go and do something else but when I return my last message that I was waiting for it's gone.
OpenCode version
1.0.45
Steps to reproduce
Ask opencode to do something that takes some time
Navigate away from terminal tab (I use iterm2)
Come back to the terminal tab and the last answer that it was working on it's reverted
for instance in this session it has produced an answer then I navigated away and back to it, it has removed the answer from the back and put the prompt back into the input field
Activity
github-actions commentedon Nov 8, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
thdxr commentedon Nov 12, 2025
i'm confused - are you saying
/undotriggers whenever you unfocus and refocus the terminal?mariusolariuimperatives commentedon Nov 13, 2025
yes
mariusolariuimperatives commentedon Nov 13, 2025
for instance in this session it has produced an answer then I navigated away and back to it, it has removed the answer from the back and put the prompt back into the input field
rekram1-node commentedon Nov 13, 2025
and this happens everytime? Do u have any keybind set for session revert that u could be hitting?
mariusolariuimperatives commentedon Nov 16, 2025
it seems that in update 1.0.67 this has been fixed somehow, I will come back to you in the next days to tell if this is for sure or not
rekram1-node commentedon Nov 16, 2025
yeah I havent heard anyone else report this so I guess lemme know if u continue having issues