diff options
author | pacien | 2023-02-17 21:30:37 +0100 |
---|---|---|
committer | GitHub | 2023-02-17 21:30:37 +0100 |
commit | a4c0c516dd5b25b404a645f41e5a165e8547c2cb (patch) | |
tree | 62fdc955672f114f1cb240925e63d9d049a9e6fe /compiler/app | |
parent | 1215c5240786d3c64ef1dec5cf8e4b6ad2ec1b01 (diff) | |
parent | d266ee66cf3e366fbeb6d92c03dedff3b7aa3f14 (diff) | |
download | ldgallery-a4c0c516dd5b25b404a645f41e5a165e8547c2cb.tar.gz |
Merge pull request #354 from ldgallery/p_revert_utf8_term_fix
Revert "compiler: fix support for non-utf8 terminals"
Diffstat (limited to 'compiler/app')
-rw-r--r-- | compiler/app/Main.hs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler/app/Main.hs b/compiler/app/Main.hs index a9630ce..3e6f254 100644 --- a/compiler/app/Main.hs +++ b/compiler/app/Main.hs | |||
@@ -1,7 +1,7 @@ | |||
1 | -- ldgallery - A static generator which turns a collection of tagged | 1 | -- ldgallery - A static generator which turns a collection of tagged |
2 | -- pictures into a searchable web gallery. | 2 | -- pictures into a searchable web gallery. |
3 | -- | 3 | -- |
4 | -- Copyright (C) 2019-2022 Pacien TRAN-GIRARD | 4 | -- Copyright (C) 2019-2021 Pacien TRAN-GIRARD |
5 | -- | 5 | -- |
6 | -- This program is free software: you can redistribute it and/or modify | 6 | -- This program is free software: you can redistribute it and/or modify |
7 | -- it under the terms of the GNU Affero General Public License as | 7 | -- it under the terms of the GNU Affero General Public License as |
@@ -28,7 +28,6 @@ import Data.Aeson (ToJSON) | |||
28 | import System.FilePath ((</>)) | 28 | import System.FilePath ((</>)) |
29 | import System.Directory (canonicalizePath, listDirectory) | 29 | import System.Directory (canonicalizePath, listDirectory) |
30 | import System.Console.CmdArgs | 30 | import System.Console.CmdArgs |
31 | import Main.Utf8 (withUtf8) | ||
32 | 31 | ||
33 | import Compiler | 32 | import Compiler |
34 | import Files (readDirectory, copyTo, remove) | 33 | import Files (readDirectory, copyTo, remove) |
@@ -104,7 +103,7 @@ options = Options | |||
104 | 103 | ||
105 | main :: IO () | 104 | main :: IO () |
106 | main = | 105 | main = |
107 | withUtf8 $ do | 106 | do |
108 | opts <- cmdArgs options | 107 | opts <- cmdArgs options |
109 | buildGallery opts | 108 | buildGallery opts |
110 | deployViewer opts | 109 | deployViewer opts |