Coder Social home page Coder Social logo

Comments (3)

bruno- avatar bruno- commented on July 30, 2024

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:

  1. what would the upgrade process from current to new script version be?
  2. 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.

bruno- avatar bruno- commented on July 30, 2024

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.

bruno- avatar bruno- commented on July 30, 2024

Closing this after the wait and giving it more though. The benefits are not worth the additional effort.

from tmux-resurrect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.