Skip to content

add support for *q* at selection#316

Open
haobug wants to merge 1 commit intovitalyrodnenko:masterfrom
haobug:q
Open

add support for *q* at selection#316
haobug wants to merge 1 commit intovitalyrodnenko:masterfrom
haobug:q

Conversation

@haobug
Copy link
Copy Markdown

@haobug haobug commented Aug 15, 2015

for detail explain see #315

Comment thread geeknote/out.py
if tools.checkIsInt(num) and 1 <= int(num) <= total:
return listItems[int(num) - 1]
if num == '0':
if num == '0' or num == 'q':
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use num (number) for q?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just lazily reused that variable since it holds the raw input

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants