Skip to content

Commit

Permalink
Improved UI
Browse files Browse the repository at this point in the history
  • Loading branch information
yemi committed May 20, 2016
1 parent 3a11639 commit f76e0bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ renderUI Stopped = do
playerState' <- liftIO $ handleResources maybeResources
renderUI playerState'
renderUI _ = do
outputStr "Enter command:"
maybeChar <- getInputChar "> "
case maybeChar of
Nothing -> return ()
Expand Down Expand Up @@ -132,8 +131,8 @@ main = runInputT defaultSettings $ do
outputStrLn "j - pause"
outputStrLn "k - play"
outputStrLn "l - next\n"
outputStrLn "Tooning:"
outputStrLn "r - search"
outputStrLn "Tooning:\n"
outputStrLn "r - enter URL to track\n"

renderUI Stopped

2 changes: 1 addition & 1 deletion toon.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ library
build-depends: base >= 4.7 && < 5
default-language: Haskell2010

executable toon-exe
executable toon
hs-source-dirs: app
main-is: Main.hs
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
Expand Down

0 comments on commit f76e0bc

Please sign in to comment.