-
Notifications
You must be signed in to change notification settings - Fork 115
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
Image support #372
Image support #372
Conversation
8c00220
to
a620588
Compare
02e288e
to
4167933
Compare
I'll periodically rebase this on master to avoid getting conflicted again. |
@danschwarz Doing some work on this branch so I'll need to rebase again. Just FYI. Sorry if i break your stuff. I'm trying to make it so that image support is optional so TUI works without term_image installed. |
Ok, I'm fine with anything that gets image support into the master branch- I'll check for any breakage. |
Adding missing comma in setup
See #389 |
--image-format='kitty'|'iterm'|'block' (default is block) autodetection was causing intermittent phantom character output to the terminal in some configurations, generally over SSH connections. Switching to a command line option eliminates the problematic autodetection code. As a side effect, EmojiText widget had to be removed.
All image code is now a soft dependency. If the term-image and/or pillow libraries are not loaded, the tui will work fine without displaying images. Note that tests/test_utils.py still has a dependency on pillow due to its use of Image for tsting the LRUCache.
Merged manually, thanks for this. Sorry for dragging my feet on this one. |
Rebased and squashed #319 since its history was getting very messy.