1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 13:56:37 +02:00

Use new style for command line color keys in user guide

This commit is contained in:
Sebastien Helleu
2011-03-13 08:59:09 +01:00
parent e4b3111a49
commit 3137c690ed
4 changed files with 42 additions and 42 deletions
+10 -10
View File
@@ -554,32 +554,32 @@ Farbkodierung
^^^^^^^^^^^^^
Für einige Erweiterungen wie z.B. der IRC Erweiterung können Farbkodierungen und Attribute für den
Text gesetzt werden. Dazu muss die Tastenkombination "Ctrl-C", gefolgt von einem der folgenden
Text gesetzt werden. Dazu muss die Tastenkombination @k(C-)@k(c), gefolgt von einem der folgenden
Zeichen, genutzt werden:
^Cb::
@k(C-)@k(c) , @k(b)::
Text wird fett dargestellt
^Ccxx::
@k(C-)@k(c) , @k(c) , @k(xx)::
Textfarbe `xx` (siehe Farbtabelle)
^Ccxx,yy::
@k(C-)@k(c) , @k(c) , @k(xx,yy)::
Textfarbe `xx` und Hintergrundfarbe `yy` (siehe Farbtabelle)
^Co::
@k(C-)@k(c) , @k(o)::
deaktiviert Farben und Attribute
^Cr::
@k(C-)@k(c) , @k(r)::
Farben umkehren (kehrt Textfarbe und Hintergrundfarbe um)
^Cu::
@k(C-)@k(c) , @k(u)::
Text wird mit Unterstrich dargestellt
[NOTE]
Der selbe Befehl (ohne den Wert für ^Cc) sollte genutzt werden um die Farbkodierungen bzw. Attribute
zu deaktivieren.
Der selbe Befehl (ohne den Wert für @k(C-)@k(c) , @k(c)) sollte genutzt werden
um die Farbkodierungen bzw. Attribute zu deaktivieren.
Farbtabelle für ^Cc:
Farbtabelle für @k(C-)@k(c) , @k(c):
[width="50%",cols="^1m,3,3",options="header"]
|========================================
+10 -10
View File
@@ -556,31 +556,31 @@ Color codes
^^^^^^^^^^^
For some plugins like IRC, you can use color codes and attributes, as
follow (press Ctrl-C then following letter, with optional value):
follow (press @k(C-)@k(c) then following letter, with optional value):
^Cb::
@k(C-)@k(c) , @k(b)::
bold text
^Ccxx::
@k(C-)@k(c) , @k(c) , @k(xx)::
text color `xx` (see list of colors below)
^Ccxx,yy::
@k(C-)@k(c) , @k(c) , @k(xx,yy)::
text color `xx` and background `yy` (see list of colors below)
^Co::
@k(C-)@k(c) , @k(o)::
disable color and attributes
^Cr::
@k(C-)@k(c) , @k(r)::
reverse video (revert text color with background)
^Cu::
@k(C-)@k(c) , @k(u)::
underlined text
[NOTE]
The same code (without number for ^Cc) may be used to stop the
The same code (without number for @k(C-)@k(c) , @k(c)) may be used to stop the
attribute.
Color codes for ^Cc are:
Color codes for @k(C-)@k(c) , @k(c) are:
[width="50%",cols="^1m,3,3",options="header"]
|========================================
@@ -607,7 +607,7 @@ Example: display of "hello everybody!" with "hello" in light blue bold and
"everybody" in light red underlined:
----------------------------------------
^Cc12^Cbhello^Cb^Cc04^Cu everybody^Cu^Cc!
^Cc12^Cbhello ^Cb^Cc04^Cueverybody^Cu^Cc!
----------------------------------------
[[weechat_options]]
+11 -11
View File
@@ -564,33 +564,33 @@ Codes couleurs
^^^^^^^^^^^^^^
Pour certaines extensions comme IRC, il est possible d'utiliser des codes
couleur et attributs comme suit (appuyer sur Ctrl-C puis sur la lettre qui
couleur et attributs comme suit (appuyer sur @k(C-)@k(c) puis sur la lettre qui
suit et éventuellement une valeur) :
^Cb::
@k(C-)@k(c) , @k(b)::
texte gras
^Ccxx::
@k(C-)@k(c) , @k(c) , @k(xx)::
couleur du texte `xx` (voir la liste des couleurs ci-dessous)
^Ccxx,yy::
@k(C-)@k(c) , @k(c) , @k(xx,yy)::
couleur du texte `xx` et du fond `yy` (voir la liste des couleurs
ci-dessous)
^Co::
@k(C-)@k(c) , @k(o)::
désactiver la couleur et tous les attributs
^Cr::
@k(C-)@k(c) , @k(r)::
vidéo inverse (inversion de la couleur d'écriture et du fond)
^Cu::
@k(C-)@k(c) , @k(u)::
texte souligné
[NOTE]
Le même code (sans le numéro pour ^Cc) peut être utilisé pour stopper
l'attribut défini.
Le même code (sans le numéro pour @k(C-)@k(c) , @k(c)) peut être utilisé pour
stopper l'attribut défini.
Les codes couleur pour ^Cc sont :
Les codes couleur pour @k(C-)@k(c) , @k(c) sont :
[width="50%",cols="^1m,3,3",options="header"]
|========================================
@@ -617,7 +617,7 @@ Exemple : affichage de "bonjour tout le monde !" avec "bonjour" en bleu clair
gras, et "tout le monde" en rouge clair souligné :
----------------------------------------
^Cc12^Cbbonjour^Cb^Cc04^Cu tout le monde^Cu^Cc!
^Cc12^Cbbonjour ^Cb^Cc04^Cutout le monde^Cu^Cc !
----------------------------------------
[[weechat_options]]
+11 -11
View File
@@ -569,35 +569,35 @@ Codici colore
^^^^^^^^^^^^^
Per alcuni plugin come IRC, è possibile usare codici colori ed attributi,
come segue (digitare Ctrl-C poi la lettera che segue, con il valore
come segue (digitare @k(C-)@k(c) poi la lettera che segue, con il valore
opzionale):
^Cb::
@k(C-)@k(c) , @k(b)::
testo in grassetto
^Ccxx::
@k(C-)@k(c) , @k(c) , @k(xx)::
colore del testo `xx` (consultare la lista di colori che segue)
^Ccxx,yy::
@k(C-)@k(c) , @k(c) , @k(xx,yy)::
colore del testo `xx` e di sfondo `yy` (consultare la lista di colori
che segue)
^Co::
@k(C-)@k(c) , @k(o)::
disabilita colori ed attributi
^Cr::
@k(C-)@k(c) , @k(r)::
video inverso (inverte il colore del testo con quello di sfondo)
^Cu::
@k(C-)@k(c) , @k(u)::
testo sottolineato
[NOTE]
Lo stesso codice (senza numero per ^Cc) può essere usato per
Lo stesso codice (senza numero per @k(C-)@k(c) , @k(c)) può essere usato per
terminare l'attributo.
I codici colore per ^Cc sono:
I codici colore per @k(C-)@k(c) , @k(c) sono:
[width="35%",cols="^1m,3,3",options="header"]
[width="50%",cols="^1m,3,3",options="header"]
|=======================================
| Codice | IRC | WeeChat (curses)
| 00 | bianco | white
@@ -622,7 +622,7 @@ Esempio: visualizza "ciao a tutti!" con "ciao" scritto in blu chiaro grassetto
e "a tutti" in rosso chiaro sottolineato:
----------------------------------------
^Cc12^Cbciao^Cb^Cc04^Cu a tutti^Cu^Cc!
^Cc12^Cbciao ^Cb^Cc04^Cua tutti^Cu^Cc !
----------------------------------------
[[weechat_options]]