aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xepy.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/epy.py b/epy.py
index 2842836..7400577 100755
--- a/epy.py
+++ b/epy.py
@@ -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()