Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

salilsurendran

macrumors newbie
Original poster
May 18, 2015
19
0
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?
 
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.
 
  • Like
Reactions: Toutou
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.