adding in-program documentation browser

it just opens up the readme file in links.
master
endorphant 2016-05-22 01:49:38 -04:00
parent ce6f34ed2c
commit 5f1b0e04dd
1 changed files with 5 additions and 1 deletions

View File

@ -333,7 +333,8 @@ def main_menu():
"browse global feels", "browse global feels",
"change your settings", "change your settings",
"send some feedback", "send some feedback",
"see credits"] "see credits",
"read documentation"]
print("you're at ttbp home. remember, you can always press <ctrl-c> to come back here.\n\n") print("you're at ttbp home. remember, you can always press <ctrl-c> to come back here.\n\n")
print_menu(menuOptions) print_menu(menuOptions)
@ -376,6 +377,9 @@ def main_menu():
elif choice == '6': elif choice == '6':
redraw() redraw()
show_credits() show_credits()
elif choice == '7':
subprocess.call(["links", os.path.join(SOURCE, "..", "README.html")])
redraw()
elif choice in QUITS: elif choice in QUITS:
return stop() return stop()
else: else: