on master help sign in
Stop using ↓ because of dumb British windows
1a228b1Evan Czaplicki
src/Reporting/Error/Helpers.hs+9−4
@@ -114,18 +114,23 @@ drawCycle :: [String] -> Doc
114drawCycle strings =
114drawCycle strings =
115 let
115 let
116 topLine =
116 topLine =
117− text "┌─────┐"
117+ [ text "┌─────┐"
118+ , text "│ V"
119+ ]
118
120
119 line str =
121 line str =
120− text "│ " <> dullyellow (text str)
122+ [ text "│ " <> dullyellow (text str)
123+ ]
121
124
122 midLine =
125 midLine =
126+ [ text "│ │"
123− text "│ ↓"
127+ , text "│ V"
128+ ]
124
129
125 bottomLine =
130 bottomLine =
126 text "└─────┘"
131 text "└─────┘"
127 in
132 in
128− vcat (topLine : List.intersperse midLine (map line strings) ++ [ bottomLine ])
133+ vcat (topLine ++ List.intercalate midLine (map line strings) ++ [ bottomLine ])
129
134
130
135
131
136