Lagrange [release]

TUI: Always use idle sleep to reduce CPU usage

=> Jaakko Keränen

Sun Oct 13 13:02:46 2024 +0300

When nothing is happening (no input or animations), sleep

instead of polling events and running the refresh loop.

 CMakeLists.txt | 5 +++++
 src/app.c      | 9 +++++----
 2 files changed, 10 insertions(+), 4 deletions(-)

=> Diff (Colored) | Diff (Colored, Plain Text) | 🔨 Patch

=> Parent 84c774b4 | Repository

Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/release/commits/43ea78c6bbc304ab4ea8002dc356a09ff323c2cf
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
31.500825 milliseconds
Gemini-to-HTML Time
0.356231 milliseconds

This content has been proxied by September (ba2dc).