fish, version 3.2.1, same issue with default config.
On VTE, xterm, urxvt, Konsole (but not Alacritty) exiting the F1 man page with q doesn't move the prompt down and leaves the text on screen, so subsequent commands will overlap with this text.

asciinema recording
I made a VTE issue where the maintainer came to the conclusion it is an issue with the sequence fish uses:
Hmm. So this exits the alternate screen via RM_DEC 1049 which does not clear the screen. So unless the result differs between vte and xterm, this is a problem in alacrity.
fish, version 3.2.1, same issue with default config.
On VTE, xterm, urxvt, Konsole (but not Alacritty) exiting the F1 man page with q doesn't move the prompt down and leaves the text on screen, so subsequent commands will overlap with this text.
asciinema recording
I made a VTE issue where the maintainer came to the conclusion it is an issue with the sequence fish uses: