bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] Fix for echo problem in Emacs on OSX


From: Elias Mårtenson
Subject: [Bug-apl] Fix for echo problem in Emacs on OSX
Date: Sat, 14 Dec 2013 15:15:19 +0800

I finally figured out what was triggering the weird behaviour where everything that was sent to the APL interpreter was echoed to the screen.

The problem happens when readline_lib::add_history is called when Readline is disabled.

The following patch will fix this:

===================================================================
--- Input.cc (revision 56)
+++ Input.cc (working copy)
@@ -255,7 +255,7 @@
       {
         while (*l && *l <= ' ')   ++l;   // skip leading whitespace
 
-        if (*l)   readline_lib::add_history(line);
+        if (use_readline && *l)   readline_lib::add_history(line);
       }
 
    return l;


reply via email to

[Prev in Thread] Current Thread [Next in Thread]