diff options
| author | Roman Smrž <roman.smrz@seznam.cz> | 2026-02-05 22:34:15 +0100 |
|---|---|---|
| committer | Roman Smrž <roman.smrz@seznam.cz> | 2026-02-05 22:34:15 +0100 |
| commit | 00fb858401afbac6a0b90ba0540a24939cabc5e2 (patch) | |
| tree | e184fb0ef4e4b005ea853b7bd8400ad5796de4cd /main/Main.hs | |
| parent | f3f03c0111729633e4026ce398ac60725e1bc1ba (diff) | |
Diffstat (limited to 'main/Main.hs')
| -rw-r--r-- | main/Main.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/Main.hs b/main/Main.hs index 0ab474d..798e8f3 100644 --- a/main/Main.hs +++ b/main/Main.hs @@ -335,6 +335,7 @@ main = do interactiveLoop :: Storage -> Options -> IO () interactiveLoop st opts = withTerminal commandCompletion $ \term -> do + showPrompt term erebosHead <- either (fail . showErebosError) return <=< runExceptT . flip runReaderT st $ do case optCreateIdentity opts of Nothing -> loadLocalStateHead term @@ -510,6 +511,7 @@ interactiveLoop st opts = withTerminal commandCompletion $ \term -> do , csWatchChatrooms = watched , csQuit = False } + hidePrompt term data CommandInput = CommandInput |