Screen: changer order exemple barre

This commit is contained in:
Alexis Ben Miloud--Josselin 2023-02-21 14:49:19 +01:00
parent 945218ace6
commit 2a00afe97c

View file

@ -126,18 +126,18 @@ Lorsquon sattache à une session où un autre client est déjà attaché a
On peut faire afficher une barre en bas (ou en haut) de la fenêtre comme le fait Tmux par défaut. Il faut utiliser la commande `hardstatus` (ou `caption`)
1. Passer en mode commande: `C-a :`.
2. Entrer la commande: `hardstatus alwayslastline "[ %H / %S ]%=%-w>> %n %t <<%+w%=%0c"`
2. Entrer la commande: `hardstatus alwayslastline "[ %H / %S ] %-w%n %t*%+w"`
Ça affichera une barre détat en bas de la fenêtre. La barre ressemblera à ceci:
~~~
[ hostname / sessionname ] 0 irssi 1 mutt >> 2 bash << 3 bash HH:MM
[ hostname / sessionname ] 0 irssi* 1 mutt 2 bash 3 bash
~~~
Autre exemple, cette commande: `hardstatus alwayslastline "[ %H / %S ] %-w%n %t*%+w"`
Exemple plus complexe : `hardstatus alwayslastline "[ %H / %S ]%=%-w>> %n %t <<%+w%=%0c"`
Affichera:
~~~
[ hostname / sessionname ] 0 irssi* 1 mutt 2 bash 3 bash
[ hostname / sessionname ] 0 irssi 1 mutt >> 2 bash << 3 bash HH:MM
~~~