feat(libs): Prise en compte de tmux dans la fonction term_change_title
This commit is contained in:
		| @@ -1,7 +1,6 @@ | |||||||
| #!/bin/bash | #!/bin/bash | ||||||
|  |  | ||||||
| function term_change_title | function term_change_title { | ||||||
| { |  | ||||||
| 	case $TERM in | 	case $TERM in | ||||||
| 	# Change the window title of X terminals | 	# Change the window title of X terminals | ||||||
| 	xterm* | rxvt* | urxvt* | Eterm) | 	xterm* | rxvt* | urxvt* | Eterm) | ||||||
| @@ -9,7 +8,7 @@ function term_change_title | |||||||
| 		;; | 		;; | ||||||
|  |  | ||||||
| 	# Change the window title of screen terminals | 	# Change the window title of screen terminals | ||||||
| 		screen*) | 	screen* | tmux*) | ||||||
| 		echo -ne "\033k${1}\033\\" | 		echo -ne "\033k${1}\033\\" | ||||||
| 		;; | 		;; | ||||||
| 	esac | 	esac | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user