kamiyaa / joshuto

ranger-like terminal file manager written in Rust
https://crates.io/crates/joshuto
GNU Lesser General Public License v3.0
3.37k stars 148 forks source link

`[selection.prefix]` not working? #403

Closed xfzv closed 4 months ago

xfzv commented 11 months ago

With only ~/.config/joshuto/theme.toml:

[selection.prefix]
prefix = "* "    # or any other character than "*"
size = 2

I'm just getting a space when selecting an item with <space> instead of the character set in prefix:

1

I tried with an empty ~/.config/kitty directory just to make sure it wasn't due to my terminal theme but it doesn't make any difference. Likewise, changing size value doesn't do anything.

joshuto was built with ❯ cargo build --release, from 3141bd24c31d9ca9419c109e7f89bdb009e3b5bc (latest commit on the main branch as I'm writing this).

kamiyaa commented 11 months ago

Interesting, I will look into it. I do remember not fully implementing this feature.

kamiyaa commented 4 months ago

Fixed in 18221047b833d3c2ede82f2959fc8a4c39da5591 Feel free to re-open if it's still not working

Usage:

[selection]
fg = "light_yellow"
bold = true
prefix = " "