You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it is great,
i would like to use it in midnight commander ("mc") , linux, kitty terminal.
it works already, by setting this export VIEWER=viu # also disable internal viewer in settings
but the image disappears immediately, because viu quits immediately, (and mc gui shows over)
maybe add a command-line arguement, for not exiting until key-pressed ?
The text was updated successfully, but these errors were encountered:
I wanted to achieve something similar, but inside the MC's built-in pager. You can configure how different file types are previewed in the mc.ext.ini config file. It seems that it doesn't support the escape sequenced generated by viu, so unfortunately that didn't work. I would be happy to know if there's a solution for that - but that's an MC issue.
In your case, however, I suppose you could wrap viu in a little bash script like this:
it is great,
i would like to use it in midnight commander ("mc") , linux, kitty terminal.
it works already, by setting this
export VIEWER=viu
# also disable internal viewer in settingsbut the image disappears immediately, because viu quits immediately, (and mc gui shows over)
maybe add a command-line arguement, for not exiting until key-pressed ?
The text was updated successfully, but these errors were encountered: