Issue with arrows when running python in terminal window

Discussion in 'Mac Apps and Mac App Store' started by EricBrian, Dec 11, 2010.

  1. EricBrian macrumors 6502a


    Jul 30, 2005
    When I press the up or down arrows, I get this in the terminal:

    Up arrow: ^[[D
    Down arrow: ^[[C

    Anybody know what to do so that I can use those keys to scroll in history?

    Thanks! :)
  2. LPZ, Dec 12, 2010
    Last edited: Dec 12, 2010

    LPZ macrumors 65816

    Jul 11, 2006
    Do control-P and control-N do what you want within an interactive Python session?

    Open Terminal and type the word read. Press the return key, and then press the following keys in order: UpArrow, DownArrow, RightArrow, LeftArrow. Then press return and post the result. I get


Share This Page