-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes and improvements for the CLI and TUI #56
Commits on Jun 20, 2022
-
[cli] Improved startup and interruption handling
- Fix: Directory checking in non-multiprocessing mode now ends immediately, upon interruption. - Fix: Queues used by getter, opener and checker threads/subprocesses are now purged upon interruption. - Eliminates deadblocks that used to occur sometimes. - Fix: Upon interruption while processing sources, getter, opener and checker threads are always joined to ensure logs are in the correct order. - Fix: Corrected typos in comments. - Change: `.cli.check_dir()` now returns immediately, upon interruption, when running in any non-main thread of the main process. - Change: Delayed startup of getter, opener and checker threads/subprocesses. - Each group is not started until a related source is encountered. - Significantly reduces startup time when multiprocessing is enabled. - Change: Moved `.tui.render.clear_queue()` to `.utils.clear_queue()`.
Configuration menu - View commit details
-
Copy full SHA for 40edb79 - Browse repository at this point
Copy the full SHA 40edb79View commit details -
[tui] Fixed support detection in subprocesses
- Fix: Eliminated style support detection queries in subprocess. - Support is now always enabled and required class attributes are exported. - Support detection used to fail at times. - Fix: Corrected typo. - Add: Added `.logging_multi.exported_style_attrs`. - Add: Added `_style_attrs` instance attribute to `.logging_multi.Process`. - Change: Removed `_force_style` instance attribute of `.logging_multi.Process`.
Configuration menu - View commit details
-
Copy full SHA for 09609fc - Browse repository at this point
Copy the full SHA 09609fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for b6b46c8 - Browse repository at this point
Copy the full SHA b6b46c8View commit details -
[tui] Eliminated some module-scope variables
- Change: Changed module-scope variables in `.keys` to widget instance attributes. - `key_bar_is_collapsed` -> `key_bar._ti_collapsed`. - `expand_key_is_shown` -> `expand._ti_shown`. - Eliminates use of the `global` keyword.
Configuration menu - View commit details
-
Copy full SHA for 5594eb4 - Browse repository at this point
Copy the full SHA 5594eb4View commit details -
[cli,tui] Improved config error handling
- Fix: Handled all errors when loading and storing user config. - Fix: Handled errors when backing up previous user config during update. - The config file is not overwritten when backup fails. - Fix: Fixed string interpolation in fatal message. - Change: No longer writing config file immediately after updating since it'll still be stored later. - Change: Changed color of error and fatal messages. - Change: Updated docstrings and comments.
Configuration menu - View commit details
-
Copy full SHA for 644e14f - Browse repository at this point
Copy the full SHA 644e14fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 209b8c5 - Browse repository at this point
Copy the full SHA 209b8c5View commit details
Commits on Jun 21, 2022
-
Conflicts: term_image/cli.py term_image/logging_multi.py
Configuration menu - View commit details
-
Copy full SHA for b8c45aa - Browse repository at this point
Copy the full SHA b8c45aaView commit details
Commits on Jun 23, 2022
-
[tui] Fixed redrawing after resize on Konsole
- Fix: 'kitty' and 'iterm2' images no longer disappear when vertically resizing Konsole. - Was due to the fact that SIGWINCH is rapidly and consistently sent to the process, trigerring rapid redraws. - Fix: Corrected the names of some "private" `GridListbox` instance attributes.
Configuration menu - View commit details
-
Copy full SHA for 69c4c25 - Browse repository at this point
Copy the full SHA 69c4c25View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bda0ae - Browse repository at this point
Copy the full SHA 1bda0aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for d41d855 - Browse repository at this point
Copy the full SHA d41d855View commit details