class BidirectionalIterator(ABC):
Known subclasses: unicodes_api.screen.BidirectionalNewIterator, unicodes_api.screen.BidirectionalStaticRevolvingIterator, unicodes_api.screen.BidirectionalStaticStopIterator
Base class Terminal keypress class that allows you to navigate collections.
| Class Variable | NAME |
subcommand name. |
| Class Variable | PAD_MAX_HEIGHT |
initial setting of curses window size. |
| Method | __init__ |
Init class. |
| Instance Variable | popts |
Parser options. |
| Instance Variable | is_mouse |
initial setting for enabling/disabling mouse interaction. |
| Instance Variable | args |
future argparse.Namespace value. |
| Instance Variable | highlight_vals |
values to hightlight. |
| Instance Variable | height |
terminal max height. |
| Instance Variable | width |
terminal max width. |
| Instance Variable | nav |
Navigation group. |
| Instance Variable | items |
output lines. |
| Method | mouse_callback |
setup argparse options. |
| Method | setup_popts |
setup argparse options. |
| Method | set_args |
Set argparse args. |
| Method | toggle_mouse |
toggle mouse switch. |
| Method | setup |
Run setup before run. |
| Instance Variable | collection |
collection of values. |
| Instance Variable | index |
Current collection value. |
| Instance Variable | txt |
supplemental messages. |
| Instance Variable | kp |
initial key press value. |
| Method | getch |
Get next keypress. |
| Method | next |
menu item next. |
| Method | prev |
menu item previous. |
| Property | current_value |
return current value. |
| Static Method | get_input |
Get user input through the user interface and return it. |
| Method | pad_refresh |
Refresh screen. |
| Method | mouseclick |
Scrolling the window when pressing up/down arrow keys |
| Method | scroll |
Scrolling the window when pressing up/down arrow keys |
| Instance Variable | pad_pos |
initial pad position. |
| Instance Variable | win |
Main curses window. |
| Instance Variable | pad |
pad value. |
| Method | run |
Run cli command. |
| Method | _print_menu |
Output text. |
| Method | _trywrite |
Attempt to write, and pass if failure occurs. |
| Method | _dowrite |
perform a bunch of operations to ensure the curses screen renders properly. |
| Static Method | _get_mouse_breakout |
Get character / word / line from where the mouse is clicked. |
| Method | _run |
run program (for reals). |
unicodes_api.cli.HackerMixerInteractiveinitial setting for enabling/disabling mouse interaction.
bool)
unicodes_api.screen.BidirectionalNewIterator, unicodes_api.screen.BidirectionalStaticRevolvingIterator, unicodes_api.screen.BidirectionalStaticStopIteratorRun setup before run.
unicodes_api.screen.BidirectionalStaticRevolvingIterator, unicodes_api.screen.BidirectionalStaticStopIteratorcollection of values.
list)
unicodes_api.screen.BidirectionalStaticRevolvingIterator, unicodes_api.screen.BidirectionalStaticStopIteratorCurrent collection value.
int)
unicodes_api.screen.BidirectionalNewIterator, unicodes_api.screen.BidirectionalStaticRevolvingIterator, unicodes_api.screen.BidirectionalStaticStopIteratormenu item previous.