command + arrow keys not working in certain terminal applications

Discussion in 'Mac Basics and Help' started by salilsurendran, Jul 1, 2015.

  1. salilsurendran macrumors newbie

    Joined:
    May 18, 2015
    #1
    Had a fairly simple question with regards to terminal in mac which I am not able to find a solution on the web. On my mac terminal I can do cmd+arrow keys to move forward/backward between words on the command line. But when I start a particular program like influx cli which is a program to interface with influxdb these keys stop working and when I press cmd+back it prints b instead of going back a word. Anyone know how to fix this?
     
  2. mfram macrumors 65816

    Joined:
    Jan 23, 2010
    Location:
    San Diego, CA USA
    #2
    There may not be a solution. I'm guessing that the key command you are using works when the application is using the 'readline' library. Like the bash shell, for example. That library is used by some programs to implement fancy editing and history on the command line. But if the program doesn't use that library then you will have to use the functionality the program implements.
     

Share This Page