mirror of
				https://github.com/tmux-plugins/tmux-resurrect.git
				synced 2025-11-04 00:46:04 +00:00 
			
		
		
		
	Update resurrect save test
This commit is contained in:
		
							
								
								
									
										16
									
								
								tests/fixtures/save_file.txt
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								tests/fixtures/save_file.txt
									
									
									
									
										vendored
									
									
								
							@@ -1,3 +1,4 @@
 | 
				
			|||||||
 | 
					pane	0	0	:bash	1	:*	0	:/tmp	1	bash	:
 | 
				
			||||||
pane	blue	0	:vim	0	: 	0	:/tmp	1	vim	:vim foo.txt
 | 
					pane	blue	0	:vim	0	: 	0	:/tmp	1	vim	:vim foo.txt
 | 
				
			||||||
pane	blue	1	:man	0	:-	0	:/tmp	0	bash	:
 | 
					pane	blue	1	:man	0	:-	0	:/tmp	0	bash	:
 | 
				
			||||||
pane	blue	1	:man	0	:-	1	:/usr/share/man	1	man	:man echo
 | 
					pane	blue	1	:man	0	:-	1	:/usr/share/man	1	man	:man echo
 | 
				
			||||||
@@ -9,11 +10,12 @@ pane	red	1	:bash	0	:-	2	:/tmp	1	bash	:
 | 
				
			|||||||
pane	red	2	:bash	1	:*	0	:/tmp	0	bash	:
 | 
					pane	red	2	:bash	1	:*	0	:/tmp	0	bash	:
 | 
				
			||||||
pane	red	2	:bash	1	:*	1	:/tmp	1	bash	:
 | 
					pane	red	2	:bash	1	:*	1	:/tmp	1	bash	:
 | 
				
			||||||
pane	yellow	0	:bash	1	:*	0	:/tmp/bar	1	bash	:
 | 
					pane	yellow	0	:bash	1	:*	0	:/tmp/bar	1	bash	:
 | 
				
			||||||
window	blue	0	0	: 	cea3,200x49,0,0,6
 | 
					window	0	0	1	:*	ce9d,200x49,0,0,0
 | 
				
			||||||
window	blue	1	0	:-	1795,200x49,0,0{100x49,0,0,7,99x49,101,0,8}
 | 
					window	blue	0	0	: 	cea4,200x49,0,0,7
 | 
				
			||||||
window	blue	2	1	:*	cea6,200x49,0,0,9
 | 
					window	blue	1	0	:-	9797,200x49,0,0{100x49,0,0,8,99x49,101,0,9}
 | 
				
			||||||
window	red	0	0	: 	ce9d,200x49,0,0,0
 | 
					window	blue	2	1	:*	677f,200x49,0,0,10
 | 
				
			||||||
window	red	1	0	:-	9296,200x49,0,0[200x24,0,0,1,200x24,0,25{100x24,0,25,2,99x24,101,25,3}]
 | 
					window	red	0	0	: 	ce9e,200x49,0,0,1
 | 
				
			||||||
window	red	2	1	:*	3d66,200x49,0,0[200x24,0,0,4,200x24,0,25,5]
 | 
					window	red	1	0	:-	52b7,200x49,0,0[200x24,0,0,2,200x24,0,25{100x24,0,25,3,99x24,101,25,4}]
 | 
				
			||||||
window	yellow	0	1	:*	677f,200x49,0,0,10
 | 
					window	red	2	1	:*	bd68,200x49,0,0[200x24,0,0,5,200x24,0,25,6]
 | 
				
			||||||
 | 
					window	yellow	0	1	:*	6780,200x49,0,0,11
 | 
				
			||||||
state	yellow	blue
 | 
					state	yellow	blue
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -11,7 +11,7 @@ sleep 1
 | 
				
			|||||||
run_shell_command "cd /tmp"
 | 
					run_shell_command "cd /tmp"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# session red
 | 
					# session red
 | 
				
			||||||
rename_current_session "red"
 | 
					new_tmux_session "red"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
new_tmux_window
 | 
					new_tmux_window
 | 
				
			||||||
horizontal_split
 | 
					horizontal_split
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user