#1142884 alacritty: exec rendering issue

Package:
alacritty
Source:
alacritty
Description:
Fast, cross-platform, OpenGL terminal emulator
Submitter:
Allan Wind
Date:
2026-07-27 14:11:02 UTC
Severity:
normal
#1142884#5
Date:
2026-07-27 14:09:26 UTC
From:
To:
Dear Maintainer,

I have a small wrapper script to handle mailto:

#!/bin/bash
exec x-terminal-emulator -e mutt -- "${1/mailto:/}"

which is called like this:

mailto 'mailto:allan@yaxto.com'

With alacritty configured as x-terminal-emulator this opens up nvim with
16 blank (~) lines and status line.  <ctrl-l> (redraw) doesn't fix the
rendering issue, nor does nvim :mod. If I select lines in the buffer
with the mouse, I see the text is there as it's highlighted.  The only
work-around I have found is to to press <scroll down> + <scroll up>.

It works as expected if I remove the "exec " prefix in my wrapper
script. This suggest a timing issue to me.  It also works (as is with
exec) when x-terminal-emulator is set to lxterm or uxterm.

Happy to provide any and all debug info.


/Allan