Comments (3)
Hi, thanks for getting involved.
I like this idea because it would make the restore file much more readable than the current "cryptic" version.
On the other hand, we would be doing potentially a lot of work without providing any visible improvement to 98% users..
But it might still be worth it. I have a couple questions though:
- what would the upgrade process from current to new script version be?
- there are a couple things we would still need to check when doing a restore:
- if a pane already exists, it shouldn't be restored. The same goes for existing windows or sessions. Relevant code lines are here.
- if a pane already exists when doing a restore, the process within it shouldn't be restored as well.
- whether a program should be restored or not depends on the user setting at the time of the restore
No. 1 above would just require work, but it could be smoothly done.
No. 2 has me thinking though. It means a restore file would need to have some functions embedded so it can check tmux state and option values at runtime.
Let me know what you think?
from tmux-resurrect.
Any update on this?
After giving this some time, I'd say this would would be tricky to implement and the value of the additional work is questionable.
Unless someone has something significant to add to this, I'll be closing this issue soon.
from tmux-resurrect.
Closing this after the wait and giving it more though. The benefits are not worth the additional effort.
from tmux-resurrect.
Related Issues (20)
- resurrect files not saving expected data
- Save env variables as well
- Restoring non-existing directories
- Save problems
- Tests failing on clean checkout from master. HOT 1
- Description in document save_dir.md is not complete
- Problem recreate windows
- How to start tmux server with resurrect
- resurrect creates minimal sized horizontal splits
- Resurrect not saving the tmux session as intended HOT 2
- C-b C-r to restore session will end up with [exited] from tmux client on iSH(iOS alpinelinux)
- Login shell not invoked for zsh
- [Question] Create new sessions/windows/layouts using a file - supported?
- [BUG] saving with nvim opens the incorrect files if you have spaces in filenames
- How to upgrade from 3.0 and keep saved sessions ?
- [Bug] Restoring sessions is adding a new empty prompts everytime
- [BUG] Hooks pre-restore-all and post-restore-all don't work correctly with tmux v3.4 HOT 1
- plugin not saving correct command
- automatically restore HOT 1
- Does not save, does not restore, returned 127
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tmux-resurrect.