Skip to content

status-line: %r (current time) does not update every second #232

@mlsimpson

Description

@mlsimpson

thanks for the great work on psmux!!

In my .tmux.conf, I have the right side of my statusbar set to display the date & current time at the far right:

Image

To achieve this, I set the status-right and 'status-interval' options in .tmux.conf as follows:

set -g status-right '#[fg=colour235,bg=colour252,bold][ #[fg=black]%a %h %d, %Y %r ]
set -g status-interval 1
set-option -s status-interval 1

In tmux on an Ubuntu 26.04 WSL2 instance, the time updates every second.
In psmux on PowerShell 7, the time does not automatically update. Instead, it refreshes when a command (e.g. an application/alias/ sequences) to the time at which the command ran.

====

this may be a powershell issue, tho i can not find any related documentation. apologies if it is in fact a powershell issue and not a psmux issue.

thanks again, i love psmux!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions