[Bug]: Terminal folder you were in gets forgotten when reloading app
Current Behavior
Start a terminal, cd into a directory. Shutdown then restart the application, and although the terminal contents are remembered and restored, the folder you were in is not restore and you are back to ~/
Expected Behavior
Would be very useful to restore the folder you were in along with the previous terminal session contents.
Steps To Reproduce
- Ubuntu 24.04 with waveterm-linux-x86_64-0.10.4.AppImage
- Start the Application Image
- Enter a terminal and 'cd' into another folder and do 'ls'
- Shutdown the Application
- Restart the Application
- Terminal session is restored but you are no longer in the directory that you 'cd' into previously
Wave Version
v0.10.4
Platform
Linux
OS Version/Distribution
Ubuntu 24.04
Architecture
x64
Anything else?
If this is not a bug can it be added as a feature request?
Questionnaire
- [ ] I'm interested in fixing this myself but don't know where to start
- [ ] I would like to fix and I have a solution
- [ ] I don't have time to fix this right now, but maybe later
I just wanted to show my interest in this issue. I love this project. I made two shots at building one of my own here and here, but they never progressed beyond personal projects. This issue is the only thing standing in my way to abandon Windows Terminal, which is miserable to setup.
Even just a way to specify a starting directory would work.
Same here. I really like the Wave-Terminal. The last used directory should be “opened” again at startup. Instead, I always start in my home directory. I actually thought that this would work with the workspaces, but unfortunately the same behavior occurs there.
See #747