mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-09 23:30:56 +00:00
Change default marker
This commit is contained in:
parent
573df524fe
commit
7b0c9e04d3
@ -450,7 +450,7 @@ Input prompt (default: '> ')
|
|||||||
Pointer to the current line (default: '▌' or '>' depending on \fB--no-unicode\fR)
|
Pointer to the current line (default: '▌' or '>' depending on \fB--no-unicode\fR)
|
||||||
.TP
|
.TP
|
||||||
.BI "--marker=" "STR"
|
.BI "--marker=" "STR"
|
||||||
Multi-select marker (default: '▏' or '>' depending on \fB--no-unicode\fR)
|
Multi-select marker (default: '│' or '>' depending on \fB--no-unicode\fR)
|
||||||
.TP
|
.TP
|
||||||
.BI "--header=" "STR"
|
.BI "--header=" "STR"
|
||||||
The given string will be printed as the sticky header. The lines are displayed
|
The given string will be printed as the sticky header. The lines are displayed
|
||||||
|
@ -2616,7 +2616,8 @@ func postProcessOptions(opts *Options) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if opts.Marker == nil {
|
if opts.Marker == nil {
|
||||||
defaultMarker := "▏"
|
// "▏" looks better, but not all terminals render it correctly
|
||||||
|
defaultMarker := "│"
|
||||||
if !opts.Unicode {
|
if !opts.Unicode {
|
||||||
defaultMarker = ">"
|
defaultMarker = ">"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user