[IronPython] Console history

Michael Foord fuzzyman at voidspace.org.uk
Wed Jun 20 10:42:54 CEST 2007


Sanghyeon Seo wrote:
> This is my pet peeve. This applies to both 1.1 and 2.0a1.
>
> 1. Run ipy.exe with -X:TabCompletion.
> 2. Execute a line. (Let's say "a = 1".)
> 3. Press up arrow. (The last line appears.)
> 4. Press down arrow. (The line stays.)
>
>   
How about:

1. Run ipy.exe with -X:TabCompletion.
2. Execute a line. (Let's say "a = 1".)
3. Press up arrow. (The last line appears.)
4. Press escape. The line disappears.

Any good ?

Michael




> What I want:
>
> 4. The line disappears.
>
> Otherwise, you're forced to delete the entire line, when you thought
> you'd edit one of the line in history, and changed your mind. The idea
> is that down arrow should reverse the any effect up arrow had.
>
> This is the case for any readline-based systems like Linux bash shell
> and CPython installs on Unix. This is not the case for Windows cmd.exe
> and CPython installs on Windows though.
>
>   




More information about the Ironpython-users mailing list