Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux > #60984

Re: tmux cannot handle high resolution momitors

From Cecil Westerhof <Cecil@decebal.nl>
Newsgroups alt.os.linux
Subject Re: tmux cannot handle high resolution momitors
Date 2019-11-14 15:24 +0100
Organization Decebal Computing
Message-ID <87h836leng.fsf@munus.decebal.nl> (permalink)
References <8736ermqji.fsf@munus.decebal.nl> <5dccbba0$0$547$65785112@news.neostrada.pl> <87y2wjkjuf.fsf@munus.decebal.nl> <5dcd5ba4$0$521$65785112@news.neostrada.pl>

Show all headers | View raw


marrgol <marrgol@address.invalid> writes:

> On 2019-11-14 at 08:17, Cecil Westerhof wrote:
>> I added the -d to the split-window commands, but that does not make
>> things better. In full-screen the panes become:
>>     1: [65x66] [history 0/2000, 0 bytes] %225 (active)
>>     2: [81x66] [history 0/2000, 0 bytes] %227
>>     3: [124x66] [history 0/2000, 0 bytes] %226
>> […]
>> So it keeps being strange.
>
> Strange indeed.  I'm using an oldish version of tmux, 2.2, and it
> works fine with your script with the 'split-window -d'.  So I tried
> the latest, 2.9, and got results similar to yours.  I fixed it by
> adding '-x 190' to the 'new-session -d' line (190 is the number of
> columns shown by xfce-terminal in full-screen mode, with the currently
> selected font, on my monitor) because tmux 2.9 seems to be defaulting
> to 80x24 screen when started detached.  Splitting twice 60-column panes
> results here in three panes of widths 1-, 17- and 60-column, then
> attaching causes to recalculate these widths to adjust to the monitor
> width and this apparently kind of messes things up.

I have 2.8 and I need -x 272 (because of my screen).

I removed the -d, because I want 50%, 25% and 25%: I started with -l
because -p did not work.

I now have:
    split-window -h -p 50
    split-window -h -p 50

And it does what I want and expect.


Where should this be reported?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

Back to alt.os.linux | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

tmux cannot handle high resolution momitors Cecil Westerhof <Cecil@decebal.nl> - 2019-11-13 22:09 +0100
  Re: tmux cannot handle high resolution momitors marrgol <marrgol@address.invalid> - 2019-11-14 03:27 +0100
    Re: tmux cannot handle high resolution momitors Cecil Westerhof <Cecil@decebal.nl> - 2019-11-14 08:17 +0100
      Re: tmux cannot handle high resolution momitors marrgol <marrgol@address.invalid> - 2019-11-14 14:50 +0100
        Re: tmux cannot handle high resolution momitors Cecil Westerhof <Cecil@decebal.nl> - 2019-11-14 15:24 +0100

csiph-web