Jared Finder <jared@finder.org> writes:
Attached is a new patch and more detailed repro steps.
Thanks; with that recipe I could reproduce the bugs here with emacs -Q
-nw, and your patch fixes the problem, so I've applied it to Emacs 28.
It was small enough to apply without a copyright assignment (but I
forgot to put in a copyright exempt marker again *sigh*). If you think
it's possible that you'll submit further patches in the future, it
might
be a good idea to do the copyright assignment process now -- would you
be willing to do so?