Fix switch symbols for opening
authorLukáš Jiřiště <gymnazium.jiriste@gmail.com>
Thu, 19 Dec 2024 08:52:25 +0000 (09:52 +0100)
committerLukáš Jiřiště <gymnazium.jiriste@gmail.com>
Thu, 19 Dec 2024 08:52:25 +0000 (09:52 +0100)
I have swapped the vertical and horizontal line.

src/colors.c

index 5298d5a195518ad7c59f77ddd8e1e78f7fbaa976..d7be7eb32f9c9c4fff245a51da59df3cb1c24997 100644 (file)
@@ -65,13 +65,13 @@ static t_switch_symbol_set  get_switch_set(t_orientation orientation)
 
        if (orientation == UP || orientation == DOWN)
        {
-               set.open = ACS_VLINE;
+               set.open = ACS_HLINE;
                set.transition = '/';
                set.closed = '|';
        }
        else
        {
-               set.open = ACS_HLINE;
+               set.open = ACS_VLINE;
                set.transition = '\\';
                set.closed = '-';
        }