termvisage

Browse and view images in the terminal (mostly a front-end to https://github.com/AnonymouX47/term-image)

MIT License

Downloads
201
Stars
32
termvisage - 0.2.0 (Improvements to the TUI, a few fixes and more) Latest Release

Published by AnonymouX47 4 months ago

0.2.0 - 2024-06-25

Highlights

  • Implemented thumbnail generation (with deduplication) and caching for the TUI image grid.
  • Redesigned the TUI footer, action bar and actions.
  • The max pixels setting is now opt-in.

Fixed

  • tui: Crash on image grid view (c64f195).
  • cli,tui: Sorting of top-level (command line) entries (9ea0572).
  • Deadlock upon interruption of the main process when multiprocessing is enabled (b90ceef).

Added

  • tui: Thumbnail generation (with deduplication) and caching for the image grid (#13, #16).
    • config: thumbnail, thumbnail cache and thumbnail size config options.
    • args: --thumbnail/--no-thumbnail command-line option.
  • tui: Force Render action to the menu context (#13).
  • tui: Mouse scroll event handling for the image list (menu) (2354639).
  • tui: Left mouse click handling for non-navigation actions (in the footer) (#19).
  • tui,config: show footer config option to control the TUI footer visibility (#19).
  • completions package installation extra, to install argcomplete for shell completions (1890ab8).

Changed

  • config,tui: Revamped the max pixels setting (#13).
    • It is now opt-in i.e by default, all images are now rendered regardless of resolution.
    • config: Changed the default value of the max pixels config option to 0 (disabled).
    • tui: It no longer applies in the full-grid-image context.
    • tui: In the image-grid context, images with more pixels than max pixels (if non-zero) are now distinguished by a yellow title and border.
  • tui: Improved grid image rendering performance (#13, #16).
  • tui: Improved image grid cell size adjustment (#15).
  • Exit properly and faster upon interruption (b90ceef).
  • tui: Redesigned the footer, action bar and actions (#19).
  • tui: Changed the default symbol for esc key from (U+238B) to ESC (21b16f3).
  • args: Disallowed abbreviation of CLI long options (95e77a3).
  • Made the argcomplete dependency optional (1890ab8).
  • logging: Process name is now excluded from log records when multiprocessing is disabled (b2ccfa7).

Removed

  • args: --max-pixels-cli command-line option (#13).
termvisage - 0.1.0 (First official release)

Published by AnonymouX47 over 1 year ago

0.1.0 - 2023-06-03

Fixed

  • Uppercase letters in hex BG colors being flagged as invalid (term-image@b4533d5).
  • Crash when "log file" or --log-file specifies a path with a non-stat-able directory (term-image@8b0af4c).
  • [tui] Render style support when multiprocessing is enabled (1637a38).
  • [tui] Erasure of the last column of images with iterm2 render style (5d828d1).
  • [tui] UI Foreground color for terminals with white background (c1249ce).
  • [tui] Notification bar not hidden when --quiet is specified (1692d6c).

Added

  • [tui] "About" section within the "Help" overlay (19b6650).
  • [tui] File name labels to image grid cells (e64edd4).
  • [tui] Support for terminal synchronized output (ad059bb).
  • [cli] --long-help command-line option for full help message (d5852e6).
  • [cli] Support for shell completions (#4).
    • argcomplete>=2,<4 dependency
    • --completions command-line option

Changed

  • [config] Changed default value of "log file" config option to "{$XDG_STATE_HOME}/termvisage/termvisage.log" (ab971d6, cbbd162).
  • [tui] Grid cells are now re-rendered upon window resize (a244048).
  • [cli] Shortened the output of --help command-line option (d5852e6).
  • [config] Renamed config files from "config.json" to "termvisage.json" (a23f2fe).
  • Improved startup time when --quiet is not specified (aa05a76).

Removed

  • As much usage of term-image private API (term-image#70).
  • --checkers, --getters and --grid-renderers command-line options (#5).