vonshednob / pter

Manage your todo.txt in a commandline user interface (TUI)
https://vonshednob.cc/pter/
MIT License
104 stars 6 forks source link

Terminal shows misaligned text output after pter is run #10

Closed maxigaz closed 2 years ago

maxigaz commented 2 years ago

After pter 2.2.0 is run, messages printed out by khal contain superfluous whitespace in Alacritty v0.9.0 and Zsh v5.8. So far, I could only fix it temporarily by starting a new shell session.

Here's a screencast showing the example of running khal --help before and after pter is run (with an empty todo file):

https://user-images.githubusercontent.com/10419911/141444265-67a9de1c-ce9d-4349-8dc4-af74bc164b10.mp4

Edit: Any command using cat and echo is affected, too. For example:

vonshednob commented 2 years ago

That's a bad one. I'll look into it. Thanks for reporting it!

vonshednob commented 2 years ago

You’re running manjaro, right? So your alacritty should be around version 0.9.0?

maxigaz commented 2 years ago

Yes, it's still 0.9.0.

vonshednob commented 2 years ago

Looks like I never noticed that problem because I’m using fish. With zsh the problem was quite obvious though.

It’s fixed in the underlying cursedspace and thus also fixed in pter version 2.2.1.

Thanks again for pointing it out! :grin:

maxigaz commented 2 years ago

I can confirm that it works now. Thank you!