aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2016-03-12 16:37:56 +0100
committerBoris Faure <billiob@gmail.com>2016-03-12 16:37:56 +0100
commitb8b016875e6438e1c9431073cc402794cb9b76f7 (patch)
tree28e2eaa2f739e2a52ae912b2e46fc2b98795a6e0
parentRevert "set default font size to 14. Closes T3117" (diff)
downloadterminology-b8b016875e6438e1c9431073cc402794cb9b76f7.tar.gz
use ctrl+alt+t to set terminal title
-rw-r--r--README1
-rw-r--r--man/terminology.14
-rw-r--r--src/bin/config.c4
3 files changed, 5 insertions, 4 deletions
diff --git a/README b/README
index 7ceb812..3dcd486 100644
--- a/README
+++ b/README
@@ -63,6 +63,7 @@ Ctrl+Alt+Equal = Font size up 1
Ctrl+Alt+Minus = Font size down 1
Ctrl+Alt+0 = Reset font size
Ctrl+Alt+9 = Big font size
+Ctrl+Alt+t = Set terminal title
Ctrl+1 = switch to terminal tab 1
Ctrl+2 = switch to terminal tab 2
Ctrl+3 = switch to terminal tab 3
diff --git a/man/terminology.1 b/man/terminology.1
index a6a037d..89933f9 100644
--- a/man/terminology.1
+++ b/man/terminology.1
@@ -1,5 +1,5 @@
.\" 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
Terminology \- Terminal Emulator written with EFL (Enlightenment Foundation Libraries).
.SH SYNOPSIS
@@ -232,7 +232,7 @@ Switch focus to next terminal inside a window (when using splits).
Toggle displaying the miniview of the history.
.
.TP
-.B Ctrl+t
+.B Ctrl+Alt+t
Set tab's title.
.
.TP
diff --git a/src/bin/config.c b/src/bin/config.c
index 9bb9f59..e04664d 100644
--- a/src/bin/config.c
+++ b/src/bin/config.c
@@ -324,7 +324,6 @@ _add_default_keys(Config *config)
ADD_KB("7", 1, 0, 0, 0, "tab_7");
ADD_KB("8", 1, 0, 0, 0, "tab_8");
ADD_KB("9", 1, 0, 0, 0, "tab_9");
- ADD_KB("t", 1, 0, 0, 0, "tab_title");
/* Alt- */
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("0", 1, 1, 0, 0, "reset_font_size");
ADD_KB("9", 1, 1, 0, 0, "big_font_size");
+ ADD_KB("t", 1, 1, 0, 0, "tab_title");
/* Shift- */
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");
/*pass through*/
case 8:
- _add_key(config, "t", 1, 0, 0, 0, "tab_title");
+ _add_key(config, "t", 1, 1, 0, 0, "tab_title");
/*pass through*/
case CONF_VER: /* 9 */
break;