mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 06:36:24 +00:00
Update help in main.py
This commit is contained in:
parent
9bb85bd294
commit
382d2f1ed0
1 changed files with 5 additions and 3 deletions
|
|
@ -39,9 +39,11 @@ for yesno and choices types.
|
|||
type=list
|
||||
dest=choices
|
||||
A choice for the choices type. Can be specified multiple times. Every choice has
|
||||
the syntax: ``letter[;color]:text``. Where :italic:`letter` is the accelerator key
|
||||
and :italic:`text` is the corresponding text. There can be an optional color
|
||||
specification after the letter to indicate what color it should be.
|
||||
the syntax: ``letter[;color]:text``, where :italic:`text` is the choice
|
||||
text and :italic:`letter` is the selection key. :italic:`letter` is a single letter
|
||||
belonging to :italic:`text`. This letter is highlighted within the choice text.
|
||||
There can be an optional color specification after the letter
|
||||
to indicate what color it should be.
|
||||
For example: :code:`y:Yes` and :code:`n;red:No`
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue