soimort / translate-shell

:speech_balloon: Command-line translator using Google Translate, Bing Translator, Yandex.Translate, etc.
https://www.soimort.org/translate-shell
The Unlicense
6.83k stars 387 forks source link

Add ability to press "up arrow" on the keyboard to set the previous text, like in bash shell #513

Closed vitaly-zdanevich closed 3 months ago

vitaly-zdanevich commented 3 months ago

With ability to edit it.

Now when I press up I see ^[[A

soimort commented 3 months ago

Please install rlwrap for readline-style interaction as a dependency, as suggested by README. trans will automatically invoke rlwrap if it is found in the path.