the ECMA-48 (ISO 6429) standard (upon which all terminals are based) define SGR 21 to doubly underline text. Kitty supports an extension to SGR 4 where the subparam 2 does the same thing, but doesn't actually support the standard SGR 21. it should :).