Enabled "q" to quit.

This commit is contained in:
Michael Lazar
2015-01-25 02:06:00 -08:00
parent 86a8d8351f
commit 97357a79d2
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ class SubredditViewer(BaseViewer):
# Quit
elif cmd == ord('q'):
pass
break
else:
curses.beep()

View File

@@ -31,7 +31,7 @@ def curses_session():
pass
# Hide blinking cursor
curses.curs_set(0)
# curses.curs_set(0)
# Initialize color pairs - colored text on the default background
curses.init_pair(1, curses.COLOR_RED, -1)