Commit Graph

24 Commits

Author SHA1 Message Date
Bruno Sutic
8de2570960 Merge pull request #193 from Mellbourn/restore-pane-fix
remove pane contents cleanup to repair restore
2017-05-30 05:49:13 +02:00
Klas Mellbourn
0a6f90788f remove pane contents cleanup to repair restore
as suggested in https://github.com/tmux-plugins/tmux-resurrect/issues/141
2017-05-07 19:35:06 +02:00
Klas Mellbourn
71fd3c8dd2 remove terminal clearing since it collides with capture-pane-contents 2017-05-06 00:37:13 +02:00
Heath Naylor
3bc852bbae Fix comparision operators. Fixes #124 2016-01-29 09:41:52 -07:00
Bruno Sutic
a47236d247
Implement pane content files compression 2015-07-10 18:01:20 +02:00
Bruno Sutic
74773bed62
Save pane contents only if pane not blank 2015-07-08 00:02:20 +02:00
Bruno Sutic
aa0b424ca6
Refactoring 2015-07-07 23:35:41 +02:00
Bruno Sutic
8af7aed9b3
Bugfix for pane contents restoration 2015-05-12 13:31:13 +02:00
Bruno Sutic
c85a3b4487
Improve pane content restore: remove extra cat 2015-05-09 14:05:51 +02:00
quentin
b22b2a7203 Save and restore tmux pane contents
This feature is controlled by the '@resurrect-capture-pane-contents'
option.
Currently only the visible area of each pane is saved and restored.
2015-03-17 03:17:37 +01:00
Bruno Sutic
b7e7669999
Improve fetching "window_layout" value
It's faster now.
2015-02-12 14:10:56 +01:00
Bruno Sutic
708cd49d31
Fix a zoomed windows related regression 2015-02-12 12:47:09 +01:00
Bruno Sutic
c4375bf642
Enable 'full restore' by overwriting a single pane 2015-02-10 15:16:26 +01:00
Bruno Sutic
ddf9c5ef87
Reorder function in restore script 2015-02-10 13:44:14 +01:00
Bruno Sutic
028e7b7c2e
Refactoring: prefer using variable with tab character 2015-02-10 12:48:53 +01:00
Bruno Sutic
b502572a07
Restore active and alternate windows only if they are present in the 'last' file 2015-02-10 12:48:53 +01:00
Bruno Sutic
95ec3c1d9b
Save and restore active and alternate windows for grouped sessions 2015-02-10 12:48:53 +01:00
Bruno Sutic
5dc22a4a9b
Restore grouped sessions 2015-02-10 12:48:53 +01:00
Arno Mayrhofer
ad52ade4bf Preserving layout of zoomed windows across restores
The problem is that tmux list-window shows only the current pane layout
if a pane is maximized. This is a bug in tmux. In order to avoid this
bug we unzoom the window when saving and zoom in again after saving.
This implies that the Z flag is no longer set in list-windows, and so it
can't be used when restoring. Instead we use the Z flag of the panes
(which still have it) to restore the zoom.
2014-10-25 18:29:52 +02:00
Bruno Sutic
8684d4592b
Flag gate the bash history restore feature 2014-10-17 22:33:29 +02:00
Radoslaw Burny
81982b5114 Add bash history saving and restoring (first version).
This does not yet have flag to turn the feature off.
2014-10-17 17:14:33 +02:00
Bruno Sutic
d606106f1c
Fix: command prompt not ideal after a restore
Fixes #36
2014-09-02 22:34:00 +02:00
Bruno Sutic
2b259cf11a
Show spinner during the env save process 2014-08-29 19:51:47 +02:00
Bruno Sutic
bd095e739d
Change plugin name and all the variables 2014-08-29 18:59:14 +02:00