mirror of
				https://github.com/tmux-plugins/tmux-continuum.git
				synced 2025-11-04 00:07:32 +00:00 
			
		
		
		
	Bugfixes for Terminal.app and iTerm tmux start scripts
This commit is contained in:
		@@ -42,7 +42,12 @@ resize_window_to_full_screen() {
 | 
			
		||||
resize_to_true_full_screen() {
 | 
			
		||||
	osascript <<-EOF
 | 
			
		||||
	tell application "iTerm"
 | 
			
		||||
		# wait for iTerm to start
 | 
			
		||||
		delay 1
 | 
			
		||||
		activate
 | 
			
		||||
		# short wait for iTerm to gain focus
 | 
			
		||||
		delay 0.1
 | 
			
		||||
		# Command + Enter for fullscreen
 | 
			
		||||
		tell i term application "System Events"
 | 
			
		||||
			key code 36 using {command down}
 | 
			
		||||
		end tell
 | 
			
		||||
 
 | 
			
		||||
@@ -29,7 +29,11 @@ resize_window_to_full_screen() {
 | 
			
		||||
resize_to_true_full_screen() {
 | 
			
		||||
	osascript <<-EOF
 | 
			
		||||
	tell application "Terminal"
 | 
			
		||||
		# waiting for Terminal.app to start
 | 
			
		||||
		delay 1
 | 
			
		||||
		activate
 | 
			
		||||
		# short wait for Terminal to gain focus
 | 
			
		||||
		delay 0.1
 | 
			
		||||
		tell application "System Events"
 | 
			
		||||
			keystroke "f" using {control down, command down}
 | 
			
		||||
		end tell
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user