force parenthesis highlighting
authorLaurent Mazet <mazet@softndesign.org>
Tue, 28 Feb 2023 14:01:28 +0000 (15:01 +0100)
committerLaurent Mazet <mazet@softndesign.org>
Tue, 28 Feb 2023 14:01:28 +0000 (15:01 +0100)
calc.c
inputrc [deleted file]

diff --git a/calc.c b/calc.c
index cadb186f4d1a68deab1d34471c188549a228f610..71bea56baeee2a3e9e8ae5b2785e17d376529f83 100644 (file)
--- 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 (file)
index 055d056..0000000
--- a/inputrc
+++ /dev/null
@@ -1 +0,0 @@
-set blink-matching-paren On