mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Add support for remapping prefix key
Make it possible to remap the prefix key (default: ctrl-t) by setting the prefix-ctrl-key variable in the configuration file. Allowed values are in the range a..z. Example, to set the prefix key to ctrl-a simply do: prefix-ctrl-key = a
This commit is contained in:
parent
1c53af0681
commit
02729c10b1
9 changed files with 36 additions and 34 deletions
|
|
@ -95,7 +95,7 @@ int main(int argc, char *argv[])
|
|||
tio_printf("tio v%s", VERSION);
|
||||
if (interactive_mode)
|
||||
{
|
||||
tio_printf("Press ctrl-t q to quit");
|
||||
tio_printf("Press ctrl-%c q to quit", option.prefix_key);
|
||||
}
|
||||
|
||||
/* Open socket */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue