orca icon indicating copy to clipboard operation
orca copied to clipboard

[Feature]: Non-AI Terminal Restore can restore the last ran command

Open MaheshDoiphode opened this issue 4 months ago • 9 comments

Operating system

Windows

Orca version

1.4.124.0

Details

Image I had these terminals to run my application consisting of 3 things including backend and web and all.. and all 3 were in separate dirs.. frontend in ./forntend dir .. backend in ./backend dir and so on.. At this point, all 3 terminals are in separate dirs, but when Orca restarts, all 3 terminals are restored, Usually I just close Orca without stopping those terminals - so if its possible to retain the commands they were running before closing orca.. for eg, "npm run dev" will get shown in the restored terminal.

Also sometimes it happens that the terminals doesnt show the proper text, and gets blank or something i dont know, i have to clear the terminal to start seeing things again - below image will showcase it properly..

Image

MaheshDoiphode avatar Jul 06 '26 21:07 MaheshDoiphode

This seems worth exploring as a terminal restore reliability issue.

siddqamar avatar Jul 11 '26 16:07 siddqamar

@MaheshDoiphode i tried this on windows and looks like this is already working on the current version. I hadn’t noticed because I usually stop terminals before closing my IDE, but I tested LFM2.5 through llama.cpp in Orca, and after reopening it, both terminals were still running exactly as before.

siddqamar avatar Jul 11 '26 17:07 siddqamar

I gotta update the version and check then... I guess while posting this issue i was already 1 version behind.

MaheshDoiphode avatar Jul 12 '26 13:07 MaheshDoiphode

Image I tried it out.. As you can see in the image, it says claude code as terminal name.. but when i restarted it with new update, it closed all the terminals..

But when i did Reload from the View tab.. it restored the terminal state and commands properly. I tried with taskkill /IM "Orca.exe" /f -- then also it restored .. for conclusion - its sort of fixed in new terminal except when it restarts for the update installation.

MaheshDoiphode avatar Jul 12 '26 23:07 MaheshDoiphode

Sorry I closed the issue by mistaked - clicked on wrong button. Cant seem to reopen it.. @siddqamar

MaheshDoiphode avatar Jul 12 '26 23:07 MaheshDoiphode

@MaheshDoiphode thanks for reporting back. Sadly i don't have the permission to reopen the issue either but let me dig into this further

siddqamar avatar Jul 13 '26 14:07 siddqamar

@MaheshDoiphode i just updated the ADE while Codex was running but i wasn't able to reproduce it. The session continued even after restarting following the update. Sometimes these kinds of issues are hard to reproduce but i'll keep digging into it. Since orca recently shipped some updates, can you confirm if you're still seeing this?

siddqamar avatar Jul 16 '26 16:07 siddqamar

@MaheshDoiphode i just updated the ADE while Codex was running but i wasn't able to reproduce it. The session continued even after restarting following the update. Sometimes these kinds of issues are hard to reproduce but i'll keep digging into it. Since orca recently shipped some updates, can you confirm if you're still seeing this?

Not seeing this issue anymore. Its fixed now.

MaheshDoiphode avatar Aug 14 '26 10:08 MaheshDoiphode

Closing because the reporter confirmed this is fixed. Disagree? Please respond! I will re-visit this ticket in 5 days. If you respond, I will re-open it 🙏.

nwparker avatar Aug 23 '26 00:08 nwparker