vonshednob / pter

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

Patch for help screen #50

Closed andrei-a-papou closed 6 months ago

andrei-a-papou commented 6 months ago

I have unbound the "open URL" command and now the "Other" section on the Help screen is empty. Here's a quick patch to hide this section if no relevant commands have keys bound to them:

99-show-help-section-conditionally.diff.gz

vonshednob commented 6 months ago

Thank you so much for all your work! I'll try to bundle all of the patches for release this week!

andrei-a-papou commented 6 months ago

In theory, the logic of this patch should be applied to other Help sections, but I've left it for the future as those cases should be very rare.

andrei-a-papou commented 6 months ago

Thank you so much for all your work! I'll try to bundle all of the patches for release this week!

No problem! I like pter a lot and I've basically fixed most of the little things that bugged me :) Except for distraction-free editing :) Merging would be nice, I have like 20 patches sitting the local repo, I'd love to get rid of most of them :laughing:

vonshednob commented 6 months ago

You are right, empty sections were silly.

andrei-a-papou commented 6 months ago

Thanks for making it work for all the other sections!