1. 27 Aug, 2021 2 commits
    • A Farzat's avatar
      Fix even more bugs in before last commit · 1b63a940
      A Farzat authored
      First, increment the relevant indices in the awk statements regarding
      windows, as now the window_name entry exists.
      Second, remove the window_name entry from the dump_pane_contents and
      dump_shell_history functions as it no longer exists in the format.
    • A Farzat's avatar
      Fix some of the errors in the last commit · 02a7f1f9
      A Farzat authored
      First, make sure to include the ":" placeholder in the window_name
      Second, decrement the indices in relevant awk commands to make sure they
      point to the right items.
  2. 26 Aug, 2021 1 commit
    • A Farzat's avatar
      Leave window name handling to windows · 6c9322aa
      A Farzat authored
      Previously, window names were set when creating panes and were therefore
      saved with pane data. However, saving the names with window data is more
      intuitive and easier to manage. In addition, one can set the name and
      automatic-rename options in the same function, so one can make sure that
      renaming the windows will not overwrite the automatic-rename option.
  3. 23 Aug, 2021 1 commit
    • A Farzat's avatar
      Maintain the value of automatic-rename · 80adb917
      A Farzat authored
      When the session is restored, the windows are renamed to their original
      names switching off automatic-rename, which can be undesirable.
      Therefore the value of automatic-rename is now saved for each window and
      restored after the renaming.
      If the value is set, that value is saved and then applied. Otherwise, a
      placeholder of ':' is placed instead, in which case the local option is
      unset for that window (as it originally was).
  4. 17 Aug, 2020 2 commits
  5. 01 Mar, 2019 1 commit
  6. 20 Aug, 2018 1 commit
  7. 17 Aug, 2018 1 commit
  8. 27 Jan, 2018 1 commit
  9. 24 Jan, 2018 1 commit
  10. 25 Oct, 2017 1 commit
  11. 04 Jun, 2017 8 commits
  12. 01 Jun, 2017 1 commit
  13. 30 May, 2017 2 commits
  14. 07 May, 2017 1 commit
  15. 29 Jan, 2016 1 commit
  16. 25 Nov, 2015 2 commits
  17. 26 Oct, 2015 1 commit
    • Bruno Sutic's avatar
      Add sleep when saving zoomed windows · 5f04ceab
      Bruno Sutic authored
      When saving zoomed windows:
      - window is un-zoomed
      - window layout snapshot is taken
      - window is zoomed back
      This is done because otherwise tmux does not provide correct window
      layout. With this we're working around a tmux bug really.
      The above causes an issue with vim. For some reason vim cannot properly
      reload it's content when "un-zoom + zoom" is done quickly. Everything
      works ok if a little sleep/wait is added, so we're doing just that.
      0.1 second sleep seems to be enough.
      About `sleep 0.1 || sleep 1`: this is a hack. We want to wait for 0.1
      seconds, which seems to be enough to fix the issue. However, according
      to POSIX, `sleep` command takes only integers.
      BUT, decimal values seem to work everywhere. So, we're using a decimal
      value, and if that fails, we behave POSIX friendly.
      Related to issue #112.
  18. 10 Jul, 2015 1 commit
  19. 08 Jul, 2015 2 commits
  20. 07 Jul, 2015 2 commits
  21. 09 May, 2015 2 commits
  22. 18 Mar, 2015 2 commits
  23. 17 Mar, 2015 2 commits
    • quentin's avatar
      Add an option to save the full pane contents · 4f685d5c
      quentin authored
      By default only the visible pane area is captured and restored.
      The @resurrect-pane-contents-area option lets the full pane area be
      captured instead.
    • quentin's avatar
      Save and restore tmux pane contents · b22b2a72
      quentin authored
      This feature is controlled by the '@resurrect-capture-pane-contents'
      Currently only the visible area of each pane is saved and restored.
  24. 12 Feb, 2015 1 commit