[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to change status line %W output format

From: Amadeusz Sławiński
Subject: Re: How to change status line %W output format
Date: Fri, 26 Jul 2019 08:15:25 +0200

On Thu, 25 Jul 2019 11:25:20 +0000
"Liu, Yuanzhe" <address@hidden> wrote:

> Hi,
>       The default %w will get something like "0 zsh 1 zsh ....", but I want 
> to make it to "[0][zsh][1][zsh]....", which will take less place and much 
> more clear for me to find the window I need.
>        Is this possible for version 4.03.01?
> Regards,
> Yuanzhe


if you want instand feedback, it's currently impossible without editing source 

You could replace AddWindows here with your own version:

AddWindows definition:

Another alternative I guess is to use callbacks to print window list, but I 
don't have such script at hand.
You could use
screen -Q windows
and then format it into your desired format, while callback would feed it into 
Problem with it would be that, you wouldn't get instand feedback onto your 
window situation.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]