bensadeh / circumflex

🌿 It's Hacker News in your terminal
GNU Affero General Public License v3.0
1.24k stars 25 forks source link

Bug: Help page is not cleared entirely after returning #131

Open apainintheneck opened 6 days ago

apainintheneck commented 6 days ago

Hello, I've been using circumflex for a bit and it's my favorite way to browse HN. I ran into a bug when consulting the help page inside the app using i/?. It seems to not entirely get cleared when returning to the main page.

Reproduction Steps

  1. Open up clx at the command line.

Screen Shot 2024-09-21 at 5 07 16 PM

  1. Press i at the command line to bring up the help page.

Screen Shot 2024-09-21 at 5 07 28 PM

  1. Press q at the command line to exit the help page.

Screen Shot 2024-09-21 at 5 07 37 PM

  1. Note the ghosting effect of a few of the help page lines. See the lines below articles 7, 8, 9 and 12.

System Info

$ clx -v
clx version 3.7

Screen Shot 2024-09-21 at 5 06 13 PM

I'm running the latest version of the app on an older version of macOS. I installed it using homebrew.

bensadeh commented 6 days ago

Hello and thanks for letting me know about this and the detailed explanation. I'm glad you enjoy using my cli.

I have the same setup as you and I am able to reproduce the issue in the Terminal app that comes built in with macOS. I am not sure exactly what is causing this issue.

From my own testing, this only appears in the macOS's Terminal app. The help screen seems to clear properly in Wezterm, iTerm2, Alacritty and Kitty.

apainintheneck commented 5 days ago

Interesting, I'm seeing the issue when using iTerm2.