From: Laurent Mazet Date: Tue, 28 Feb 2023 14:01:28 +0000 (+0100) Subject: force parenthesis highlighting X-Git-Tag: v1.2~7 X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;h=f9ee932b62fcaa73bf092537ae212e6ab9cd7285;p=calc.git force parenthesis highlighting --- diff --git a/calc.c b/calc.c index cadb186..71bea56 100644 --- a/calc.c +++ b/calc.c @@ -198,8 +198,10 @@ int main (int argc, char *argv[]) completion_list = generate_completion_list (); rl_attempted_completion_function = completion; - /* startup hook */ + /* readline parameters */ rl_startup_hook = edit_hook; + rl_variable_bind ("blink-matching-paren", "On"); + //rl_set_screen_size (50, 40); /* read from input stream */ diff --git a/inputrc b/inputrc deleted file mode 100644 index 055d056..0000000 --- a/inputrc +++ /dev/null @@ -1 +0,0 @@ -set blink-matching-paren On