Swordfish90 / cool-retro-term

A good looking terminal emulator which mimics the old cathode display...
22.03k stars 839 forks source link

[Feature Request] Limit FPS when unfocused/minimized #693

Open Haptein opened 2 years ago

Haptein commented 2 years ago

This terminal emulator really is the prettiest out of all I've tried! The only issue I have with it is it's power consumption, as it makes my laptop's battery last quite a bit less.

I assume one easy way to somewhat mitigate this would be to add an option to limit FPS to some specified value when unfocused/minimized. For reference, this is the power draw I measured with different FPS on an intel 9750h laptop. power

benjweaver commented 2 years ago

Hey, I am looking for a project to contribute to for a class I am currently taking. Can I be assigned to this issue?

Swordfish90 commented 2 years ago

Done. Thank you @benjweaver for taking a look into this.

idchlife commented 1 year ago

Hey guys, how it's going with this feature?

CoderCowMoo commented 2 months ago

@benjweaver could you please update on this? Might be willing to work on it, but would have to check out the code further.

actionless commented 1 month ago

i think the original assignee have disappeared, as 1 study year already passed

regarding the feature itself - wouldn't it make sense to fully skip redraw while window is inactive? as drawing even 1 frame per second doesn't make any sense to me, if the window is invisible