PrettyPrompt icon indicating copy to clipboard operation
PrettyPrompt copied to clipboard

Redraw when window size is changed

Open kindermannhubert opened this issue 4 years ago • 1 comments

Is there any way to know if window size has been changed? TciAOECKwT

kindermannhubert avatar Dec 06 '21 16:12 kindermannhubert

There is probably no cross platform solution. Looks like it can be done on windows with https://docs.microsoft.com/en-us/windows/console/readconsoleinput, WINDOW_BUFFER_SIZE_EVENT and with WaitForSignalObject described here https://stackoverflow.com/questions/46658472/non-blocking-readconsoleinput. On other platforms I have no idea.

kindermannhubert avatar Dec 06 '21 18:12 kindermannhubert