diff options
author | wustho <benawiadha@gmail.com> | 2020-03-01 21:50:23 +0700 |
---|---|---|
committer | wustho <benawiadha@gmail.com> | 2020-03-01 21:50:23 +0700 |
commit | cb3a2c02fb9ff9985911f806a8d25c76a9ec9959 (patch) | |
tree | 280d9f102a91b138b48b00ba06fe0fa4de451997 /epy.py | |
parent | 7e05512622bdb3ac03b4cd533cacc7f6edad06ee (diff) | |
download | epy-cb3a2c02fb9ff9985911f806a8d25c76a9ec9959.tar.gz |
Minor input_prompt cursor position.
Diffstat (limited to 'epy.py')
-rwxr-xr-x | epy.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -605,7 +605,7 @@ def input_prompt(prompt): init_text = "" stat.addstr(0, 0, " " + prompt + ":", curses.A_REVERSE) - stat.addstr(0, 7, init_text) + stat.addstr(0, len(prompt)+2, init_text) stat.refresh() try: @@ -636,7 +636,7 @@ def input_prompt(prompt): stat.clear() stat.addstr(0, 0, " " + prompt + ":", curses.A_REVERSE) - stat.addstr(0, 7, init_text) + stat.addstr(0, len(prompt)+2, init_text) stat.refresh() except KeyboardInterrupt: stat.clear() |