You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compare the following two Python scripts (Python 3)
input()
importreadlineinput()
For each, try typing something and then arrowing left. With the first, it just types ^[[D. With the second, it arrows left. It also supports all the standard things like emacs keybindings and even history.
Nikola should try importing readline for any command that takes user input (such as new_post). I believe it has to be done with try, except because readline is not available on all platforms.
The text was updated successfully, but these errors were encountered:
Compare the following two Python scripts (Python 3)
input()
For each, try typing something and then arrowing left. With the first, it just types
^[[D
. With the second, it arrows left. It also supports all the standard things like emacs keybindings and even history.Nikola should try importing readline for any command that takes user input (such as
new_post
). I believe it has to be done withtry, except
becausereadline
is not available on all platforms.The text was updated successfully, but these errors were encountered: