-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding descriptions for each option (#114)
* Update __init__.py Added the option to show description messages for each option by moving the cursor on to them. * An example to show descriptions. * Update __init__.py Fixed some screen size math * 1) changed the main program to parse dictionaries for options with descriptions. 2) changed the example to work with the new way of using the code. 3) wrote a new test for descriptions * Delete .idea directory * added optional attribute to the class * add to * trying to fix some commit messages * Delete .idea directory * Fixed types and refactored examples * changed test_option() * fixed type checks for the eddited test * revert back type hints grammer * fixed an error caused ny find/replace all * Applied early return principle and fixed some minor stuff * Resolving widescreen bug Co-authored-by: AN Long <[email protected]> * revert back support for dictionary input * update examples * update tests * revert List to Sequence for options type * Update src/pick/__init__.py Co-authored-by: AN Long <[email protected]> * If no option present, use the whole line --------- Co-authored-by: AN Long <[email protected]>
- Loading branch information
1 parent
783bc3f
commit d1a8e6b
Showing
5 changed files
with
60 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,4 @@ __pycache__/ | |
# due to using tox and pytest | ||
.tox | ||
.cache | ||
.idea/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters