google-code-export / omega

Automatically exported from code.google.com/p/omega
Other
2 stars 0 forks source link

keep separate histories for prompt> and check> #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently these two modi (prompt> and check>) share the same
history. After some exploration in check> and a :q there,
the previous prompt> history is not realistically accessible any more.

Additionally, the :q command exists in both, but inadvertently
issuing that at prompt> can be annoying.

I am not sure if the curses binding allows this separation, though.

Original issue reported on code.google.com by ggr...@gmail.com on 26 Jun 2007 at 3:50

GoogleCodeExporter commented 9 years ago
here is the docs for readline:

http://www.haskell.org/ghc/docs/6.8.1/html/libraries/readline-1.0.1.0/System-Con
sole-Readline.html

it does not appear to have a swappable history feature :-(

However include/readline/history.h contains a bunch of functionality that 
allows to swap history.

Original comment by ggr...@gmail.com on 8 Nov 2007 at 9:18