Mercurial > projects > pwm
changeset 39:131c35592054
Allow keybinding customizations in ~/.teclarc
author | Guido Berhoerster <guido+pwm@berhoerster.name> |
---|---|
date | Thu, 08 Aug 2019 22:48:09 +0200 |
parents | 8b55f7b1c6b3 |
children | e3ad9859c51d |
files | io.c pwm.c |
diffstat | 2 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/io.c Thu Aug 08 16:23:44 2019 +0200 +++ b/io.c Thu Aug 08 22:48:09 2019 +0200 @@ -116,6 +116,7 @@ if (gl_private == NULL) { err(1, "new_GetLine"); } + gl_configure_getline(gl_private, NULL, NULL, "~/.teclarc"); gl_catch_blocked(gl_private); } @@ -168,6 +169,7 @@ if (gl == NULL) { err(1, "new_GetLine"); } + gl_configure_getline(gl, NULL, NULL, "~/.teclarc"); /* disable default filename completion */ gl_customize_completion(gl, NULL, io_gl_complete_nothing); gl_echo_mode(gl, 0);
--- a/pwm.c Thu Aug 08 16:23:44 2019 +0200 +++ b/pwm.c Thu Aug 08 22:48:09 2019 +0200 @@ -126,6 +126,7 @@ if (gl == NULL) { err(1, "new_GetLine"); } + gl_configure_getline(gl, NULL, NULL, "~/.teclarc"); gl_catch_blocked(gl); gl_limit_history(gl, PWM_HISTORY_LINES_MAX); /* disable default filename completion */