comparison pwm.c @ 39:131c35592054

Allow keybinding customizations in ~/.teclarc
author Guido Berhoerster <guido+pwm@berhoerster.name>
date Thu, 08 Aug 2019 22:48:09 +0200
parents 2a8298bafec2
children
comparison
equal deleted inserted replaced
38:8b55f7b1c6b3 39:131c35592054
124 /* initialize libtecla */ 124 /* initialize libtecla */
125 gl = new_GetLine(PWM_LINE_MAX, PWM_HISTORY_MAX); 125 gl = new_GetLine(PWM_LINE_MAX, PWM_HISTORY_MAX);
126 if (gl == NULL) { 126 if (gl == NULL) {
127 err(1, "new_GetLine"); 127 err(1, "new_GetLine");
128 } 128 }
129 gl_configure_getline(gl, NULL, NULL, "~/.teclarc");
129 gl_catch_blocked(gl); 130 gl_catch_blocked(gl);
130 gl_limit_history(gl, PWM_HISTORY_LINES_MAX); 131 gl_limit_history(gl, PWM_HISTORY_LINES_MAX);
131 /* disable default filename completion */ 132 /* disable default filename completion */
132 gl_customize_completion(gl, NULL, io_gl_complete_nothing); 133 gl_customize_completion(gl, NULL, io_gl_complete_nothing);
133 134