ajalt/mordant

Slightly non-obvious description of the updateTerminalSize method

EpicDima opened this issue · 0 comments

I made a program that calls the updateTerminalSize method several times a second to get information about changing the size of the terminal. I expected the method to return true if the size of the terminal was changed, but it returns true anyway when the size of the terminal was received, if it didn't even change and it seems, at least for me, it's not always completely obvious and it would be great to clarify this point in the documentation of the method)