Skip to content

Commit

Permalink
Merge pull request #1465 from GaloisInc/at-windows-backslash
Browse files Browse the repository at this point in the history
Allow REPL line continuation with \ on Windows
  • Loading branch information
mergify[bot] authored Sep 23, 2021
2 parents 03f663a + 969d4e0 commit a57d679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion saw/SAWScript/REPL/Haskeline.hs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ repl mbBatch opts begin =
Nothing -> return ()

getInputLines prompt ls =
do mb <- getInputLine prompt
do mb <- fmap (filter (/= '\r')) <$> getInputLine prompt
let newPrompt = map (\_ -> ' ') prompt
case mb of
Nothing -> return Nothing
Expand Down

0 comments on commit a57d679

Please sign in to comment.