on master help sign in
Automatically add two indents on multi-line REPL entries
6432c00Evan Czaplicki
ui/terminal/src/Repl.hs+2−2
@@ -91,8 +91,8 @@ readHelp starter lines =
91
91
92 Just line ->
92 Just line ->
93 if not (null line) && last line == '\\'
93 if not (null line) && last line == '\\'
94− then readHelp "| " (init line : lines)
94+ then readHelp "| " (init line : lines)
95− else return $ toInput $ List.intercalate "\n" $ reverse (line : lines)
95+ else return $ toInput $ List.intercalate "\n " $ reverse (line : lines)
96
96
97
97
98
98