mirror of
https://git.meli.delivery/meli/meli
synced 2024-11-19 03:25:38 +00:00
docs/meli.conf.5: small fixes & additions
This commit is contained in:
parent
3b97e66c10
commit
a2456fa3f5
@ -790,16 +790,16 @@ Sets the string to print in the mailbox tree for a leaf level where its root has
|
|||||||
.El
|
.El
|
||||||
.Ss Examples of sidebar mailbox tree customization
|
.Ss Examples of sidebar mailbox tree customization
|
||||||
The default values
|
The default values
|
||||||
|
.sp
|
||||||
.Bd
|
.Bd -literal
|
||||||
has_sibling = " "
|
has_sibling = " "
|
||||||
no_sibling = " ";
|
no_sibling = " ";
|
||||||
has_sibling_leaf = " "
|
has_sibling_leaf = " "
|
||||||
no_sibling_leaf = " "
|
no_sibling_leaf = " "
|
||||||
.Ed
|
.Ed
|
||||||
|
.sp
|
||||||
render a mailbox tree like the following:
|
render a mailbox tree like the following:
|
||||||
|
.sp
|
||||||
.Bd -literal
|
.Bd -literal
|
||||||
0 Inbox 3
|
0 Inbox 3
|
||||||
1 Archive
|
1 Archive
|
||||||
@ -811,16 +811,16 @@ render a mailbox tree like the following:
|
|||||||
7 Spam
|
7 Spam
|
||||||
8 Trash
|
8 Trash
|
||||||
.Ed
|
.Ed
|
||||||
|
.sp
|
||||||
Other possible trees:
|
Other possible trees:
|
||||||
|
.sp
|
||||||
.Bd -literal
|
.Bd -literal
|
||||||
has_sibling = " ┃"
|
has_sibling = " ┃"
|
||||||
no_sibling = " "
|
no_sibling = " "
|
||||||
has_sibling_leaf = " ┣━"
|
has_sibling_leaf = " ┣━"
|
||||||
no_sibling_leaf = " ┗━"
|
no_sibling_leaf = " ┗━"
|
||||||
.Ed
|
.Ed
|
||||||
|
.sp
|
||||||
.Bd -literal
|
.Bd -literal
|
||||||
0 Inbox 3
|
0 Inbox 3
|
||||||
1 ┣━Archive
|
1 ┣━Archive
|
||||||
@ -832,16 +832,16 @@ no_sibling_leaf = " ┗━"
|
|||||||
7 ┣━Spam
|
7 ┣━Spam
|
||||||
8 ┗━Trash
|
8 ┗━Trash
|
||||||
.Ed
|
.Ed
|
||||||
|
.sp
|
||||||
A completely ASCII one:
|
A completely ASCII one:
|
||||||
|
.sp
|
||||||
.Bd -literal
|
.Bd -literal
|
||||||
has_sibling = " |"
|
has_sibling = " |"
|
||||||
no_sibling = " "
|
no_sibling = " "
|
||||||
has_sibling_leaf = " |\\_"
|
has_sibling_leaf = " |\\_"
|
||||||
no_sibling_leaf = " \\_"
|
no_sibling_leaf = " \\_"
|
||||||
.Ed
|
.Ed
|
||||||
|
.sp
|
||||||
.Bd -literal
|
.Bd -literal
|
||||||
0 Inbox 3
|
0 Inbox 3
|
||||||
1 |\\_Archive
|
1 |\\_Archive
|
||||||
@ -853,7 +853,7 @@ no_sibling_leaf = " \\_"
|
|||||||
7 |\\_Spam
|
7 |\\_Spam
|
||||||
8 \\_Trash
|
8 \\_Trash
|
||||||
.Ed
|
.Ed
|
||||||
|
.sp
|
||||||
.Sh TAGS
|
.Sh TAGS
|
||||||
.Bl -tag -width 36n
|
.Bl -tag -width 36n
|
||||||
.It Ic colours Ar hash table String[Color]
|
.It Ic colours Ar hash table String[Color]
|
||||||
@ -941,6 +941,18 @@ theme = "themeB"
|
|||||||
[terminal.themes.themeC]
|
[terminal.themes.themeC]
|
||||||
\&...
|
\&...
|
||||||
.Ed
|
.Ed
|
||||||
|
.It Ic use_mouse Ar bool
|
||||||
|
Use mouse events.
|
||||||
|
This will disable text selection, but you will be able to resize some widgets.
|
||||||
|
This setting can be toggled with
|
||||||
|
.Cm toggle mouse Ns
|
||||||
|
\&.
|
||||||
|
.\" default value
|
||||||
|
.Pq Em false
|
||||||
|
.It Ic mouse_flag Ar String
|
||||||
|
String to show in status bar if mouse is active.
|
||||||
|
.\" default value
|
||||||
|
.Pq Em 🖱️
|
||||||
.It Ic progress_spinner_sequence Ar Either \&< Integer, [String] \&>
|
.It Ic progress_spinner_sequence Ar Either \&< Integer, [String] \&>
|
||||||
Choose between 30-something built in sequences (integers between 0-30) or define your own list of strings for the progress spinner animation.
|
Choose between 30-something built in sequences (integers between 0-30) or define your own list of strings for the progress spinner animation.
|
||||||
Set to an empty array to disable the progress spinner.
|
Set to an empty array to disable the progress spinner.
|
||||||
|
@ -96,6 +96,9 @@ impl DotAddressable for TerminalSettings {
|
|||||||
"mouse_flag" => self.mouse_flag.lookup(field, tail),
|
"mouse_flag" => self.mouse_flag.lookup(field, tail),
|
||||||
"window_title" => self.window_title.lookup(field, tail),
|
"window_title" => self.window_title.lookup(field, tail),
|
||||||
"file_picker_command" => self.file_picker_command.lookup(field, tail),
|
"file_picker_command" => self.file_picker_command.lookup(field, tail),
|
||||||
|
"progress_spinner_sequence" => {
|
||||||
|
self.progress_spinner_sequence.lookup(field, tail)
|
||||||
|
}
|
||||||
other => Err(MeliError::new(format!(
|
other => Err(MeliError::new(format!(
|
||||||
"{} has no field named {}",
|
"{} has no field named {}",
|
||||||
parent_field, other
|
parent_field, other
|
||||||
|
Loading…
Reference in New Issue
Block a user