Tmux-powerline status-interval make flicker -
mac osx ei capitan
tmux 1.9a
powerline https://github.com/erikw/tmux-powerline
sometimes status line flash, segments disappear , appeare. if config
set-option -g status-interval=5
it seems better not real time status .
is normal phenomenon?
or maybe should config avoid this.
thanks!
it sounds 1 of segments doing takes long time update. can disable segments see if helps (configuration docs). defaults pretty expensive, , on older macbook, tmux regularly sits @ 5% cpu or more. disabling uptime
, else don't need might help.
here's example config trimmed of fat right status (removed uptime
, system load, removed seconds time). goes in ~/.config/powerline/themes/tmux/default.json
:
{ "segments": { "right": [ { "function": "powerline.segments.common.time.date" }, { "function": "powerline.segments.common.time.date", "name": "time", "args": { "format": "%h:%m", "istime": true } }, { "function": "powerline.segments.common.net.hostname" } ] } }
the default.json
ships powerline buried in innards of python package, location of depends on how installed it, python version, , other things (e.g. mine @ ~/.virtualenv/default/lib/python2.7/site-packages/powerline/config_files/themes/tmux/default.json
). can copy ~/.config
path above , modify liking, or use pasted.
Comments
Post a Comment