Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 606568 - =app-misc/tmux-2.3: status-right in .tmux.conf not honored without default-color set
Summary: =app-misc/tmux-2.3: status-right in .tmux.conf not honored without default-co...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-20 06:30 UTC by zlg (RETIRED)
Modified: 2017-01-21 17:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Correct 'status-right' issue for tmux-2.3 (tmux-2.3_fix-status-right.patch,1.57 KB, patch)
2017-01-20 06:30 UTC, zlg (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description zlg (RETIRED) gentoo-dev 2017-01-20 06:30:27 UTC
Created attachment 460686 [details, diff]
Correct 'status-right' issue for tmux-2.3

I had noticed my .tmux.conf status-right setting ("%a %Y-%m-%d %H:%M") stopped working recently and wasn't displaying as expected. Some scrounging around on the Web led me to upstream's issue on the matter[0], which includes a patch. There is a work-around sans patch (setting default colors explicitly), but it's hacky at best. I've tested the patch[1] applied as a user patch and the issue is resolved. I've added the patch as an attachment.

I searched for a duplicate bug but could not find one.

Steps To Reproduce:

1. emerge app-misc/tmux-2.3
2. include `set -g status-right "%a %Y-%m-%d %H:%M"` somewhere in ~/.tmux.conf
3. load tmux and check the lower right hand side. The current DOW and ISO time should show up.

Problem:

The text isn't showing up.

Solution:

The attached patch worked for me with a simple re-emerge, on the 'default/linux/amd64/13.0/developer' profile, on ~amd64.

[0]: https://github.com/tmux/tmux/issues/560
[1]: https://github.com/tmux/tmux/issues/560#issuecomment-251810282
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-01-21 17:24:53 UTC
commit 6040e1f56ea5f55bad8f124c104adcaa1b171fa1
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Sat Jan 21 18:23:29 2017

    app-misc/tmux: Revbump to fix status-right display (bug #606568).

    Package-Manager: Portage-2.3.3, Repoman-2.3.1