force parenthesis highlighting
[calc.git] / calc.c
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 */