**Describe the unexpected behaviour**
```
milovidov-desktop :) SET output_format_pretty_row_numbers = 1

SET output_format_pretty_row_numbers = 1

Query id: bb15ca27-5a3c-48ac-814a-a3cfea42deda

Ok.

0 rows in set. Elapsed: 0.000 sec. 

milovidov-desktop :) SELECT 1 UNION ALL SELECT 2

SELECT 1
UNION ALL
SELECT 2

Query id: d940f566-7188-4d17-83d6-8421975791a9

   ┌─1─┐
1. │ 2 │
   └───┘
   ┌─1─┐
1. │ 1 │
   └───┘

2 rows in set. Elapsed: 0.001 sec.
```
wrg(grid_symbols.top_separator, out);
            wrg(grid_symbols.dash, out);
        }
        const ColumnWithTypeAndName & col = block.getByPosition(i);
        if (col.type->shouldAlignRightInPrettyFormats())
        {
            for (size_t k = 0; k < max_widths[i] - name_widths[i]; ++k)
                wrg(grid_symbols.dash, out);
            if (format_settings.pretty.color)
                wrg("\033[1m", out);
            writeString(col.name, out);
            if (format_settings.pretty.color)
                wrg("\033[0m", out);
        }
        else
        {
            if (format_settings.pretty.color)
                wrg("\033[1m", out);
            writeString(col.name, out);
            if (format_settings.pretty.color)
                wrg("\033[0m", out);
            for (size_t k = 0; k < max_widths[i] - name_widths[i]; ++k)
                wrg(grid_symbols.dash, out);
        }
    }
    wrg(grid_symbols.dash, out);
    wrg(grid_symbols.right_top_corner, out);
    wrg("\n", out);
}
void PrettyCompactBlockOutputFormat::writeBottom(const Widths & max_widths)