diff options
Diffstat (limited to 'src/Main.hs')
-rw-r--r-- | src/Main.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs index 903da05..ea663e8 100644 --- a/src/Main.hs +++ b/src/Main.hs | |||
@@ -38,7 +38,7 @@ main = do | |||
38 | let | 38 | let |
39 | description = initialShellDescription | 39 | description = initialShellDescription |
40 | { historyFile = Just historyFile | 40 | { historyFile = Just historyFile |
41 | , prompt = \st -> return $ maybe "" (++ " ") ((evalState ?? st) . toName . snd <$> (listToMaybe $ view priorityQueue st)) ++ "→ " | 41 | , prompt = \st -> return $ maybe "" (++ " ") ((evalState ?? st) . toName <$> view tip st) ++ "→ " |
42 | , beforePrompt = gets stateOutline >>= (\str -> if null str then return () else shellPutStrLn str) | 42 | , beforePrompt = gets stateOutline >>= (\str -> if null str then return () else shellPutStrLn str) |
43 | , commandStyle = OnlyCommands | 43 | , commandStyle = OnlyCommands |
44 | , shellCommands = [ exitCommand "exit" | 44 | , shellCommands = [ exitCommand "exit" |