on master help sign in
Automatically add two indents on multi-line REPL entries
commit6432c0059abd73c0c9cabd4cd6e38b3b0ab3a860 authorEvan Czaplicki <evancz@users.noreply.github.com> dateFri 25 May 2018, 11:00 (8 years ago) parent5673195
1 file changed+2−2
ui/terminal/src/Repl.hs+2−2
ui/terminal/src/Repl.hs+2−2
@@ -91,8 +91,8 @@ readHelp starter lines =
9191
9292 Just line ->
9393 if not (null line) && last line == '\\'
94− then readHelp "| " (init line : lines)
95− else return $ toInput $ List.intercalate "\n" $ reverse (line : lines)
94+ then readHelp "| " (init line : lines)
95+ else return $ toInput $ List.intercalate "\n " $ reverse (line : lines)
9696
9797
9898