soimort / translate-shell

:speech_balloon: Command-line translator using Google Translate, Bing Translator, Yandex.Translate, etc.
https://www.soimort.org/translate-shell
The Unlicense
7k stars 392 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 7 months ago

vitaly-zdanevich commented 7 months ago

With ability to edit it.

Now when I press up I see ^[[A

soimort commented 7 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.