giulianopz / newscanoe

a simple TUI to read RSS/Atom/JSON feeds
GNU General Public License v3.0
2 stars 0 forks source link

Map keystrokes to UI events #38

Open giulianopz opened 9 months ago

giulianopz commented 9 months ago

At the moment a single keystroke is mapped to a number of ASCII codes, each one triggering an unnecessary re-rendering of the UI. The window should rather be redrawn only in response to specific events.

giulianopz commented 7 months ago

Ref: https://dubroy.com/blog/three-ways-of-handling-user-input/