Skip to content

Commit

Permalink
Add help hint to Cryptol REPL
Browse files Browse the repository at this point in the history
  • Loading branch information
stock1218 committed Nov 4, 2019
1 parent ddbd664 commit dd6d8d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cryptol/REPL/Logo.hs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ logo useColor mk =
versionText = "version " ++ showVersion version ++ hashText
ver = sgr [SetColor Foreground Dull White]
++ replicate (lineLen - 20 - length versionText) ' '
++ versionText
++ versionText ++ "\n"
++ "https://cryptol.net :? for help"
ls = mk ver
slen = length ls `div` 3
(ws,rest) = splitAt slen ls
Expand Down

0 comments on commit dd6d8d2

Please sign in to comment.