chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] readline: history, empty lines, duplicate lines


From: Dan
Subject: [Chicken-users] readline: history, empty lines, duplicate lines
Date: Thu, 19 Oct 2006 23:55:22 -0700 (PDT)

Someone please patch the readline egg:

335c335
<       if (gnu_readline_buf != NULL) 
---
>       if (gnu_readline_buf != NULL && *gnu_readline_buf != '\0')

to avoid blank lines being saved to history. Is anyone using the readline egg? 
Another useful thing would be not to save duplicate lines, but it requires 
marginally more work than just writing this message.









reply via email to

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