lsd-rs / lsd

The next gen ls command
Apache License 2.0
13.25k stars 430 forks source link

Some files are aligned to right #724

Closed h4rvey-g closed 2 years ago

h4rvey-g commented 2 years ago

Actual behavior

All the .R files are aligned to the right. Screenshot_20220817-212221_Termux

zwpaper commented 2 years ago

I can not reproduce by creating R files.

it should be something related to font or terminal, could you try to use a different font or terminal?

meain commented 2 years ago

Hey, from the output of lsd at top, it looks like some other program that you ran before messed up the terminal and did not recover properly. This usually happens when when some TUI apps don't exit properly. Most TUI apps will put your terminal into raw mode and ideally they are supposed to revert it back when they exit. But for some reason, if the app crashes it may not reset the terminal back and you can end up in this situation. You can usually fix it by running reset.

h4rvey-g commented 2 years ago

Turns out it's mostly a font problem (no luck with reset). I'm using Meslo Nerd Font patched for Powerlevel10k, and I'll open an issue under that. Thanks. Screenshot_20220818-105005_Termux