Skip to content

Instantly share code, notes, and snippets.

@robintw
Created October 9, 2021 20:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robintw/21fa810732a4f122986408be7e665224 to your computer and use it in GitHub Desktop.
Save robintw/21fa810732a4f122986408be7e665224 to your computer and use it in GitHub Desktop.
====
With normal output
====
2021-10-09 21:50:37.540 | DEBUG | prompt_toolkit.key_binding.bindings.focus:focus_next:21 - Set focus to [('[SetMenuPosition]', ''), ('class:dropdown.text', ' Select column ',...
2021-10-09 21:50:38.057 | DEBUG | prompt_toolkit.key_binding.bindings.focus:focus_next:21 - Set focus to [('[SetMenuPosition]', ''), ('class:dropdown.text', ' = ',...
===
With DummyOutput
===
2021-10-09 21:51:12.538 | DEBUG | prompt_toolkit.key_binding.bindings.focus:focus_next:21 - Set focus to [('class:button.arrow', '<', <function Button._get_text_fragments.<locals>.handler at 0x119a321f0>), ('[SetCursorPosition]', ''), ('class:button.text', 'Add filter condition'...
2021-10-09 21:51:13.054 | DEBUG | prompt_toolkit.key_binding.bindings.focus:focus_next:21 - Set focus to [('[SetCursorPosition]', '', <bound method AdvancedComboBox.handle_mouse_click of <pepys_admin.maintenance.widgets.advanced_combo_box.AdvancedComboBox object at 0x1195cd0a0>>), ('class:combobox-highlight class:disabled-entry', '1 - Merge (unavailable, select for more information)'...
2021-10-09 21:51:13.579 | DEBUG | prompt_toolkit.key_binding.bindings.focus:focus_next:21 - Set focus to [('class:table-title', '[', <function CheckboxTable._get_text_fragments.<locals>.mouse_handler at 0x11afa1280>), ('[SetCursorPosition]', '', <function CheckboxTable._get_text_fragments.<locals>.mouse_handler at 0x11afa1280>)...
Simplified version:
===
With normal output
===
Set focus to "Select column" dropdown
Set focus to " = " dropdown
===
With DummyOutput
===
Set focus to "Add filter condition" button
Set focus to Actions Combo Box
Set focus to CheckboxTable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment