fix the position of the input

This commit is contained in:
Andreas Zweili 2016-12-16 11:16:01 +01:00
parent bbd9d9bb32
commit 2eeec351cb
1 changed files with 2 additions and 3 deletions

View File

@ -6,18 +6,17 @@ import interface_variables
import curses
int_vars = interface_variables
screen = curses.initscr()
def get_param(prompt_string):
screen = curses.initscr()
screen.clear()
screen.border(0)
screen.addstr(2, 2, prompt_string)
screen.refresh()
input = screen.getstr(10, 10, 60)
input = screen.getstr(3, 2, 60)
return input
def draw_screen():
screen = curses.initscr()
screen.clear()
screen.border(0)
screen.addstr(2, 2, "Please enter a number...")