[Idle-dev] issue 2704 - shell terminal functionality

Terry Reedy tjreedy at udel.edu
Thu May 14 02:23:24 CEST 2015


On 5/12/2015 1:54 PM, Sarah wrote:
> The main thing I want is the ability to hit the up arrow key to
> scroll through prior commands.

That by itself is trivial: add <key-up> and <key-down> as bindings for 
history-previous and history-next.  But that disables the ability to use 
those keys to move up and down in multiline commands. Shell cannot be 
exactly the same as Terminal because it is statements rather than line 
oriented.

Shift- Control- or even Alt- Up/Down could be used*.

*Assuming not in use already -- an option to get a list of current 
binding sorted by key would be nice.

-- 
Terry Jan Reedy



More information about the IDLE-dev mailing list