1
0
mirror of https://github.com/ihabunek/toot synced 2025-02-08 08:08:40 +01:00

5 Commits

Author SHA1 Message Date
Daniel Schwarz
c5414a8e21 Added support for indexed color image rendering; fixes #483
Useful for terminals that do not support truecolor, such
as MacOS Terminal. Requires term-image 0.7.2 or later.
2024-06-07 22:00:57 -04:00
AnonymouX47
1ea2e29e25 fix: Fix iTerm2's title with image support enabled
- Fix: Force support support only for the selected image format.

  If support is forced for `KittyImage`, then `UrwidImageScreen` will
  emit kitty graphics control sequences to delete images upon starting
  and stoping the screen.

iTerm2 (on Mac OS) doesn't eat up APCs (which kitty graphics control
sequences are) as it should, instead it writes them to the screen
and/or to its title bar.
2024-06-04 09:00:44 +01:00
AnonymouX47
b264927da9 refac: tui.images: Optimize image class selection
- Change: Execute image class selection logic once and cache the result.
2024-06-04 08:46:35 +01:00
AnonymouX47
efab6cf556 refac: tui: Optimize image pixel support detection 2024-06-04 08:36:48 +01:00
Daniel Schwarz
0fc2ec12f5
Display images 2024-04-13 08:28:28 +02:00