static List<int> underline(int weight) { // ESC - n - Activar/desactivar subrayado (0-2) return [0x1B, 0x2D, weight.clamp(0, 2)]; }