Changes to be committed:
new file: .gitignore
This commit is contained in:
parent
02b6980d77
commit
b017139995
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
.vscode/
|
||||
dist-newstyle/
|
14
app/Main.hs
14
app/Main.hs
@ -1,4 +1,16 @@
|
||||
module Main where
|
||||
|
||||
import Brick (Widget, simpleMain, (<+>), str, withBorderStyle, joinBorders)
|
||||
import Brick.Widgets.Center (center)
|
||||
import Brick.Widgets.Border (borderWithLabel, vBorder)
|
||||
import Brick.Widgets.Border.Style (unicode)
|
||||
|
||||
ui :: Widget ()
|
||||
ui =
|
||||
newForm $
|
||||
joinBorders $
|
||||
withBorderStyle unicode $
|
||||
borderWithLabel (str "Hello!")
|
||||
|
||||
main :: IO ()
|
||||
main = putStrLn "Hello, Haskell!"
|
||||
main = simpleMain ui
|
BIN
dist-newstyle/cache/config
vendored
BIN
dist-newstyle/cache/config
vendored
Binary file not shown.
BIN
dist-newstyle/cache/elaborated-plan
vendored
BIN
dist-newstyle/cache/elaborated-plan
vendored
Binary file not shown.
BIN
dist-newstyle/cache/improved-plan
vendored
BIN
dist-newstyle/cache/improved-plan
vendored
Binary file not shown.
2
dist-newstyle/cache/plan.json
vendored
2
dist-newstyle/cache/plan.json
vendored
File diff suppressed because one or more lines are too long
BIN
dist-newstyle/cache/solver-plan
vendored
BIN
dist-newstyle/cache/solver-plan
vendored
Binary file not shown.
BIN
dist-newstyle/cache/up-to-date
vendored
BIN
dist-newstyle/cache/up-to-date
vendored
Binary file not shown.
@ -64,6 +64,7 @@ executable freedoc
|
||||
-- .hs or .lhs file containing the Main module.
|
||||
main-is: Main.hs
|
||||
|
||||
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
||||
-- Modules included in this executable, other than Main.
|
||||
-- other-modules:
|
||||
|
||||
@ -73,7 +74,9 @@ executable freedoc
|
||||
-- Other library packages from which modules are imported.
|
||||
build-depends:
|
||||
base ^>=4.17.2.1,
|
||||
brick >= 2.4
|
||||
brick >= 2.4,
|
||||
vty >= 6.0,
|
||||
vty-crossplatform >= 0.4.0.0
|
||||
|
||||
-- Directories containing source files.
|
||||
hs-source-dirs: app
|
||||
|
Loading…
x
Reference in New Issue
Block a user