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 ~~~