Compare commits

..

No commits in common. "6b28f5c00187feeba3c0f2f985c79c6f1c77b3e3" and "af025064f4ddabfa2a557a2f4d7f9c79ded10dae" have entirely different histories.

3 changed files with 12 additions and 14 deletions

View file

@ -17,8 +17,6 @@ HIDDEN_MASK = '*'
NEWLINE = 10 NEWLINE = 10
SPACE = 32
DELETE = 330 DELETE = 330
BACKSPACE = 263 BACKSPACE = 263

View file

@ -1,6 +1,6 @@
import curses import curses
from time import sleep from time import sleep
from fallout_functions import slowWrite, centeredWrite, NEWLINE, SPACE, addSound from fallout_functions import slowWrite, centeredWrite, NEWLINE, addSound
###################### Functions ############################ ###################### Functions ############################
@ -15,7 +15,7 @@ def makeSelection(scr, SELECTIONS, MSGS):
selection_start_y = scr.getyx()[0] selection_start_y = scr.getyx()[0]
width = scr.getmaxyx()[1] width = scr.getmaxyx()[1]
while inchar not in [NEWLINE, SPACE]: while inchar != NEWLINE:
# move to start of selections and hightlight current selection # move to start of selections and hightlight current selection
scr.move(selection_start_y, 0) scr.move(selection_start_y, 0)
line = 0 line = 0