]> Sergey Matveev's repositories - nnn.git/commit
preview-tui improvements (#869)
authorluukvbaal <31730729+luukvbaal@users.noreply.github.com>
Sat, 13 Mar 2021 11:22:51 +0000 (12:22 +0100)
committerGitHub <noreply@github.com>
Sat, 13 Mar 2021 11:22:51 +0000 (16:52 +0530)
commit1571ea2b35f4944f8515ae7647181bb206e10113
treeb2bed247203b56fc2adad0121baa670a4c9f4206
parent3387f0a6ac41bf7a96f461ca62df4190f6b853f9
preview-tui improvements (#869)

* Update preview-tui

* trap SIGWINCH

* Update preview-tui

fix CircleCI test

* fix CircleCI...

* add pdf/epub

forgot to add pdf/epub when adpating my own working script to the upstream version

* add USE tests

* add office preview

allows preview of ods, odt, docx, pptx, etc

* remove resize trap, show static gif

Removed the faulty resize code and show static gif when USE_GIFPREVIEW is not set.

* loop gif playback

* refactor imagepreview

* scale kitty preview

* fix ueberzug_remove regression

* add optional atool support

* single depth, colorized tree preview

also empty pager prompt

* atool optional

* window resize working

* USE_UEBERZUG check

* conditional trap

I can't fully explain the behavior I'm seeing but this seems to work as its supposed to.

* adopt TMPDIR

* prevent extra readline after window resize

* shellcheck fix

* clear preview pane after resize

prevents (seemingly random) pager previews from showing after resize

* fix stray fifo from subshells

* add preview-tui-ext
plugins/preview-tui
plugins/preview-tui-ext [new file with mode: 0755]