Color problems in neovim +

While trying to configure a RaspberryPI as a development machine for use with my iPad, I ran into a weird issue: When I connected using and Mosh, NeoVIM for some reason had completely broken coloring with background colors being extremely intense green/blue instead of … grey ๐Ÿ˜‘

Broken colors in neovim

Turns out, truecolor support was only added with Mosh 1.4 last October. Ubuntu 22.02 didnโ€™t have that (obviously) and so colors via SSH looked fine but were broken via Mosh. Luckily, thereโ€™s a PPA available that makes dev-builds available which fixed my problem!