From 2a00afe97c8e440665b6d83b4b43049bc102bc24 Mon Sep 17 00:00:00 2001 From: Alexis Ben Miloud--Josselin Date: Tue, 21 Feb 2023 14:49:19 +0100 Subject: [PATCH] Screen: changer order exemple barre --- HowtoScreen.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/HowtoScreen.md b/HowtoScreen.md index b8992944..9a5abb5f 100644 --- a/HowtoScreen.md +++ b/HowtoScreen.md @@ -126,18 +126,18 @@ Lorsqu’on s’attache à 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 ~~~