Update the updateWindowSize documentation

This commit is contained in:
John Ericson 2024-05-20 08:34:49 -04:00 committed by GitHub
parent 53f0c44d6c
commit d48bbda2e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,8 +22,9 @@ std::string filterANSIEscapes(std::string_view s,
unsigned int width = std::numeric_limits<unsigned int>::max());
/**
* Recalculate the window size, updating a global variable. Used in the
* `SIGWINCH` signal handler.
* Recalculate the window size, updating a global variable.
*
* Used in the `SIGWINCH` signal handler on Unix, for example.
*/
void updateWindowSize();