[pve-devel] [PATCH] fix #6223: fit terminal after 'OK' message

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Apr 4 18:54:20 CEST 2025


Am 26.03.25 um 11:42 schrieb Dominik Csapak:
> On 3/26/25 11:19, Thomas Lamprecht wrote:
>> But again, probably not required as requisting an animation frame from
>> inside the callback allways gives the next one already anyway.
>>
>> [0]: https://developer.mozilla.org/en-US/docs/Web/API/Window/requestAnimationFrame
> 
> I'd interpret this in the same way, so a simple
> 
> requestAnimationFrame(() => requestAnimationFrame(() => { .. my callback code .. }));
> 
> should also work?

would make sense to me.


> I'll send a v2 if that's less work for you

Yeah, that would simplify it a bit for me.




More information about the pve-devel mailing list