rc man: Handle early window resize
rc man: Handle early window resize

If the window gets resized before the `man` command is called, the
hook will error out and display an error.

Fix #3432

lenormf/kakoune,danr/kakoune,alexherbo2/kakoune,casimir/kakoune,mawww/kakoune,Somasis/kakoune,casimir/kakoune,casimir/kakoune,jkonecny12/kakoune,danr/kakoune,alexherbo2/kakoune,lenormf/kakoune,alexherbo2/kakoune,alexherbo2/kakoune,Somasis/kakoune,lenormf/kakoune,jkonecny12/kakoune,mawww/kakoune,jkonecny12/kakoune,lenormf/kakoune,casimir/kakoune,mawww/kakoune,Somasis/kakoune,danr/kakoune,Somasis/kakoune,jkonecny12/kakoune,danr/kakoune,mawww/kakoune