Change default marker

This commit is contained in:
Junegunn Choi 2024-05-20 18:43:26 +09:00
parent 573df524fe
commit 7b0c9e04d3
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627
2 changed files with 3 additions and 2 deletions

View File

@ -450,7 +450,7 @@ Input prompt (default: '> ')
Pointer to the current line (default: '▌' or '>' depending on \fB--no-unicode\fR)
.TP
.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
.BI "--header=" "STR"
The given string will be printed as the sticky header. The lines are displayed

View File

@ -2616,7 +2616,8 @@ func postProcessOptions(opts *Options) error {
}
if opts.Marker == nil {
defaultMarker := "▏"
// "▏" looks better, but not all terminals render it correctly
defaultMarker := "│"
if !opts.Unicode {
defaultMarker = ">"
}