class HackerMixerInteractive(BidirectionalNewIterator):
Hacker mixer upper / scramble letters with variations of unicode.
| Class Variable | NAME |
subcommand name. |
| Method | mouse_callback |
no action. |
| Method | setup |
Scroll through all Variations of a word with mixed unicode values for letters. |
| Instance Variable | seen |
keep track of what's been seen. |
| Instance Variable | mixer |
Main mixer class. |
| Instance Variable | alphabet_dict |
main alphabet dict. |
| Instance Variable | object_dict |
letter object dictionary map. |
| Instance Variable | let_idx |
letter index. |
| Instance Variable | is_mouse |
initial setting for enabling/disabling mouse interaction. |
| Method | set_word |
Set word. |
| Instance Variable | word |
currently manipulated word. |
| Instance Variable | letter_pos |
setup existing (or new) word. |
| Method | setup_popts |
setup parser options. |
| Property | uni_word |
whole unicode mixed word. |
| Property | uni_dict |
value dictionary. |
| Method | previous_letter |
scroll to previous letter in letter_pos. |
| Method | next_letter |
scroll to next letter in letter_pos. |
| Method | shift_left |
Move letter position left. |
| Method | shift_right |
Move letter position right. |
| Method | new |
Generate new random value. |
| Method | prev |
go to previous collection value. |
| Method | change_text |
Replace current word / text block. |
| Method | next |
move to next random value. |
| Method | obj_display |
Set object display. |
| Instance Variable | txt |
placeholder for txt messages. |
| Method | _has_letter |
return true if letter position is valid. |
| Method | _get_lpos |
Get letter position. |
| Method | _save |
Save (overwrite entry). |
| Method | _print_menu |
output menu. |
Inherited from BidirectionalIterator (via BidirectionalNewIterator):
| Class Variable | PAD_MAX_HEIGHT |
initial setting of curses window size. |
| Method | __init__ |
Init class. |
| Instance Variable | popts |
Parser options. |
| 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 | set_args |
Set argparse args. |
| Method | toggle_mouse |
toggle mouse switch. |
| Instance Variable | collection |
collection of values. |
| Instance Variable | index |
Current collection value. |
| Instance Variable | kp |
initial key press value. |
| Method | getch |
Get next keypress. |
| 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 | _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). |
Scroll through all Variations of a word with mixed unicode values for letters.
| Parameters | word | Undocumented (type: str) |