Skip to content

Commit

Permalink
Fix emoji output
Browse files Browse the repository at this point in the history
  • Loading branch information
elopez committed Feb 18, 2023
1 parent fbce51e commit 043f8e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ dependencies:
- base16-bytestring
- binary
- bytestring
- code-page
- containers
- data-bword
- data-dword
Expand Down Expand Up @@ -42,6 +43,7 @@ dependencies:
- unordered-containers
- vector
- vector-instances
- with-utf8
- word-wrap
- yaml

Expand Down
4 changes: 3 additions & 1 deletion src/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ import Data.Set qualified as Set
import Data.Text (Text)
import Data.Time.Clock.System (getSystemTime, systemSeconds)
import Data.Version (showVersion)
import Main.Utf8 (withUtf8)
import Options.Applicative
import Paths_echidna (version)
import System.Exit (exitWith, exitSuccess, ExitCode(..))
import System.FilePath ((</>))
import System.IO (hPutStrLn, stderr)
import System.IO.CodePage (withCP65001)

import EVM.Dapp (dappInfo)
import EVM.Solidity (SolcContract(..))
Expand All @@ -37,7 +39,7 @@ import Echidna.Output.Source
import Echidna.Output.Corpus

main :: IO ()
main = do
main = withUtf8 $ withCP65001 $ do
opts@Options{..} <- execParser optsParser
g <- getRandomR (0, maxBound)
EConfigWithUsage loadedCfg ks _ <-
Expand Down

0 comments on commit 043f8e8

Please sign in to comment.