Copying to the X11 clipboard from tmux has been failing since
I updated to ncurses-6.5. Verbose server logs show
could not expand Ms
when it fails.
This is logged here:
https://github.com/tmux/tmux/blob/3.4/tty-term.c#L861
I suspect that the problem is related to changes in the behaviour of the
`tiparm` and `tparm` functions in ncurses 6.5 (see:
https://invisible-island.net/ncurses/announce.html#h4-fixes-library).
(`tiparm_s` was not present in ncurses-6.4 so tmux 3.4 compiled against
ncurses-6.4 would have used `tiparm` or `tparm`).
Rebuilding against ncurses-6.5 fixes the problem.