ranger-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ranger-users] w3mimgpreview and tmux


From: Roman Z.
Subject: Re: [Ranger-users] w3mimgpreview and tmux
Date: Thu, 2 May 2013 21:42:14 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, May 02, 2013 at 12:16:01PM -0600, Travis Poppe wrote:
> Have there been any attempts to get the w3mimgpreview functionality
> working within tmux? Is it a tmux issue, or an issue with w3m? 

The issue is that tmux makes it difficult for the program to determine
the window dimensions (width and height of the terminal window).  Which
is not surprising, since the dimensions can be ambiguous if you open
the same tmux session in two different terminals with two different
fonts or font sizes.

The window dimension is necessary though if you want to calculate the
area which is available for the image.

You can set the dimensions manually, as described in this post [1], and
it will actually work.  But that's not officially supported.  If you
find a better way, please let me know.

Roman

[1] https://bbs.archlinux.org/viewtopic.php?pid=1230451#p1230451




reply via email to

[Prev in Thread] Current Thread [Next in Thread]