In which I, Felix Bauckholt, assert my dominance

by changing the spacing.

Also by fixing the category window size.
This commit is contained in:
Felix Bauckholt 2016-01-24 01:27:47 -05:00
parent bc2d865520
commit 91f1ff9c55
7 changed files with 24 additions and 25 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.pyc

View File

@ -157,7 +157,7 @@ def return_menu():
def catMenu():
(my,mx)=stdscr.getmaxyx()
w=curses.newwin(3,5)
cat = browser.categoryBrowser(w,hb, 10,40)
cat = browser.categoryBrowser(w,hb)
(r,c) = w.getmaxyx()
w.mvwin((my-r)//2 -2, (mx-c)//2)
cat.refreshCategories()

View File

@ -134,4 +134,3 @@ def openLibrary_lccn(LCCN):
if "subtitle" in openBook:
book["subtitle"]=openBook["subtitle"]
return book

View File

@ -95,4 +95,3 @@ def return_procedure(w, hb, cy, cx, mx):
step1.clear()
if book_id:
db.return_book(book_id)