prompt: recompose the statusbar text whenever the window size changes

This fixes https://savannah.gnu.org/bugs/?48796.
1 file changed