-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 06/07/2014 06:33 AM, Mick wrote: > On Tuesday 03 Jun 2014 15:16:56 Stroller wrote: >> On Tue, 3 June 2014, at 6:59 am, Mick <michaelkintz...@gmail.com> >> wrote: >>>> … I have: >>>> >>>> … status-left "#[fg=blue]#T" … status-right "#[fg=blue][#S]" >>>> … >>> >>> Thanks Stroller, >>> >>> On the left status bar I see this: >>> >>> [0] 0:bash* >>> >>> with one window open. As I create more windows it adds to it >>> like so: >>> >>> [0] 0:bash 1:bash- 2:bash* >>> >>> >>> The right hand side shows the prompt, or command being run, but >>> not all of it if it is too long. >>> >>> … status-left "[#S]" … status-right ""#22T" %H:%M %d-%b-%y" >> >> It looks to me like I've merely swapped left and right panes >> because, presumably, I thought it looked better that way. >> >> And I've removed the clock - that's one way you could reclaim >> some screen space. > > Right, on my default setup the clock is on the right, the number of > windows on the left and the title in the middle. > > As is the title shows: > > "root@compaq:/usr/src/l" > > instead of "root@compaq:/usr/src/linux". This is what I mean of it > being cut short. > > > [snip ...] >> As I say, I don't seem to be firing on all cylinders right now, >> but it doesn't look to me like the "commands being run" are shown >> where you say they are, not on the far right, at least. >> >> I think they're shown in the *middle* section of the status bar. > > Yes, they are shown in the middle, but on a 82x25 pixel terminal > the title is displayed about 2/3 towards the right of the status > bar, right against the clock. See attached screenshot. > > Running tmux set -g status-right "#32T" removed the clock and > increased the real estate for the title bar. > > Thanks again Stroller. >
The "#22T" means (I think) to show the *first 22 characters* of the title, cutting it off if it is too long. You may just want to increase that number to something that matches the room you have available. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCgAGBQJTlyfpAAoJELHSF2kinlg49csP/1XsKO/l2RGUfMd7/VlKV7Iq z6FdY/9qMepDvk4fZgkGB4wvsA45H8i2Dgj6Ua8PwsMW0NOo11McHGkBTwWzlZln bJKGX4+on+vu24omf7amTpRddiDNXIfyE1jn0E0kgcpLGOqAGf8yf3YLWLCHe2Ao MVariiSq3d3+QtUzf9NSXtCVZTsBmZAS63aYa9IRNikNfjVgiMIBUuhyrMZzaRCQ /cwEH2xhiZLcuiSkJ7299r9OoFipSYg2gzgjz5EBpimxpxnWPPazlr2qQH10kGXX VL4B3YX3RFpFzRJ1lyvBEyninCx9+aJcyx+WlkF3g8NpymwvRRJrlYMpwqQkEuhD 2ckNQLQBGdvv/XRpGPZqMedsW3Zk6tFWp8r4OrSrRRI+jBZhqqV8/edEQAqW8Zw2 S+qjO8jviWrahEXjcbMSuVVrsy0Dr9muYIwY1wLRR3fgpQwFA4VztwCTPTft2/40 rh0A3PoVdHO/6Z8eI08pQsno+DrxCuDNQAq6CtULGMLmiur9U5iT9xReNQgnz6YV QGvmSw141fp6kzvi1zPpby/O88d2XJR44ovTcbJBOH3JtRGb8aOLBJeenQDwk3Wu O6DhgvqdW8/K8yChvZWbWEECJ9GItINungrXEKa+HQbrqxi2AB7ccxJfJTqinwUd oqGlxGJod38/7IhGX2MX =RisW -----END PGP SIGNATURE-----