Can't use the Up-Arrow Key to repeat the last command

I can’t use the Up-Arrow key in the Influx Console Client to repeat the last command.

InfluxDB 1.2.4
OS : CentOS 7.2

I’ve noticed this behavior as well. Also it seems that the behavior only shows up when:

  1. Either a command is cancelled while editing (support I have a command I ran earlier and I’m trying to re-run it with edited parameters). If I cancel it in-between it gets into this state.
  2. Or a command is copied and the above actions are performed.