use ctrl+alt+t to set terminal title

This commit is contained in:
Boris Faure 2016-03-12 16:37:56 +01:00
parent dec441790c
commit b8b016875e
3 changed files with 5 additions and 4 deletions

1
README
View File

@ -63,6 +63,7 @@ Ctrl+Alt+Equal = Font size up 1
Ctrl+Alt+Minus = Font size down 1 Ctrl+Alt+Minus = Font size down 1
Ctrl+Alt+0 = Reset font size Ctrl+Alt+0 = Reset font size
Ctrl+Alt+9 = Big font size Ctrl+Alt+9 = Big font size
Ctrl+Alt+t = Set terminal title
Ctrl+1 = switch to terminal tab 1 Ctrl+1 = switch to terminal tab 1
Ctrl+2 = switch to terminal tab 2 Ctrl+2 = switch to terminal tab 2
Ctrl+3 = switch to terminal tab 3 Ctrl+3 = switch to terminal tab 3

View File

@ -1,5 +1,5 @@
.\" Manpage for Terminology .\" Manpage for Terminology
.TH man 1 "17 September 2015" "0.9.1" "Terminology man page" .TH man 1 "12 March 2016" "0.9.1" "Terminology man page"
.SH NAME .SH NAME
Terminology \- Terminal Emulator written with EFL (Enlightenment Foundation Libraries). Terminology \- Terminal Emulator written with EFL (Enlightenment Foundation Libraries).
.SH SYNOPSIS .SH SYNOPSIS
@ -232,7 +232,7 @@ Switch focus to next terminal inside a window (when using splits).
Toggle displaying the miniview of the history. Toggle displaying the miniview of the history.
. .
.TP .TP
.B Ctrl+t .B Ctrl+Alt+t
Set tab's title. Set tab's title.
. .
.TP .TP

View File

@ -324,7 +324,6 @@ _add_default_keys(Config *config)
ADD_KB("7", 1, 0, 0, 0, "tab_7"); ADD_KB("7", 1, 0, 0, 0, "tab_7");
ADD_KB("8", 1, 0, 0, 0, "tab_8"); ADD_KB("8", 1, 0, 0, 0, "tab_8");
ADD_KB("9", 1, 0, 0, 0, "tab_9"); ADD_KB("9", 1, 0, 0, 0, "tab_9");
ADD_KB("t", 1, 0, 0, 0, "tab_title");
/* Alt- */ /* Alt- */
ADD_KB("Home", 0, 1, 0, 0, "cmd_box"); ADD_KB("Home", 0, 1, 0, 0, "cmd_box");
@ -348,6 +347,7 @@ _add_default_keys(Config *config)
ADD_KB("minus", 1, 1, 0, 0, "decrease_font_size"); ADD_KB("minus", 1, 1, 0, 0, "decrease_font_size");
ADD_KB("0", 1, 1, 0, 0, "reset_font_size"); ADD_KB("0", 1, 1, 0, 0, "reset_font_size");
ADD_KB("9", 1, 1, 0, 0, "big_font_size"); ADD_KB("9", 1, 1, 0, 0, "big_font_size");
ADD_KB("t", 1, 1, 0, 0, "tab_title");
/* Shift- */ /* Shift- */
ADD_KB("Prior", 0, 0, 1, 0, "one_page_up"); ADD_KB("Prior", 0, 0, 1, 0, "one_page_up");
@ -571,7 +571,7 @@ config_load(const char *key)
_add_key(config, "n", 1, 0, 1, 0, "term_new"); _add_key(config, "n", 1, 0, 1, 0, "term_new");
/*pass through*/ /*pass through*/
case 8: case 8:
_add_key(config, "t", 1, 0, 0, 0, "tab_title"); _add_key(config, "t", 1, 1, 0, 0, "tab_title");
/*pass through*/ /*pass through*/
case CONF_VER: /* 9 */ case CONF_VER: /* 9 */
break; break;