Replies: 2 comments 3 replies
-
It's there because you can do animations in the terminal, and you want to be able to ensure they don't run too fast. See |
Beta Was this translation helpful? Give feedback.
0 replies
-
but it wastes resources, right? without need the screen is updated 30 times a second without any change for usual terminal programs. in terms of power consumption (for example on a mobile device) this isnt desired. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i wonder why an library for terminal display uses a frame rate, normally characters should be changed on screen if the program decides so and not 30 times a second. isnt that a waste of resources if the characters dont change (which will be the case most of the time for usual TUIs). shouldnt such a lib use a select call to detect what to do next?
Beta Was this translation helpful? Give feedback.
All reactions