summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-06-10 14:21:01 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2016-06-10 14:21:01 +0200
commit78eb3dc461ec08bb1860b7772c354660a87088ef (patch)
treefa9bd317aacbbdbe858621546cfa205289eca46e /src
parent486604532fa99fd294bb2d0c4166d815de6d4fde (diff)
download2017-01-16_17:13:37-78eb3dc461ec08bb1860b7772c354660a87088ef.tar
2017-01-16_17:13:37-78eb3dc461ec08bb1860b7772c354660a87088ef.tar.gz
2017-01-16_17:13:37-78eb3dc461ec08bb1860b7772c354660a87088ef.tar.bz2
2017-01-16_17:13:37-78eb3dc461ec08bb1860b7772c354660a87088ef.tar.xz
2017-01-16_17:13:37-78eb3dc461ec08bb1860b7772c354660a87088ef.zip
cleanup
Diffstat (limited to 'src')
-rw-r--r--src/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 36f2687..d07cad5 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -61,7 +61,7 @@ main = do
61 , prompt = \st -> return $ maybe "" (++ " ") ((evalState ?? st) . toName <$> view gFocus st) ++ "→ " 61 , prompt = \st -> return $ maybe "" (++ " ") ((evalState ?? st) . toName <$> view gFocus st) ++ "→ "
62 , beforePrompt = do 62 , beforePrompt = do
63 { gets stateOutline >>= (\str -> if null str then return () else shellPutStr str) 63 { gets stateOutline >>= (\str -> if null str then return () else shellPutStr str)
64 ; gets focusNotes >>= (\str -> if null str then return () else shellPutStrLn str) 64 ; gets focusNotes >>= (\str -> if null str then return () else shellPutStr str)
65 } 65 }
66 , commandStyle = OnlyCommands 66 , commandStyle = OnlyCommands
67 , shellCommands = [ exitCommand "exit" 67 , shellCommands = [ exitCommand "exit"