Skip to content

Commit

Permalink
Split input events into separate package
Browse files Browse the repository at this point in the history
  • Loading branch information
kostmo committed Jun 30, 2024
1 parent 1493eac commit e6d258b
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 2 deletions.
1 change: 1 addition & 0 deletions cabal.project
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
packages: .
tests/
vty-input/
File renamed without changes.
25 changes: 25 additions & 0 deletions vty-input/vty-input.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: vty-input
version: 5.37
license: BSD3
license-file: LICENSE
author: AUTHORS
maintainer: Jonathan Daugherty ([email protected])
homepage: https://github.com/jtdaugherty/vty
category: User Interfaces
synopsis: Input event definitions for the Vty library
cabal-version: 1.18
build-type: Simple
extra-doc-files: LICENSE
tested-with: GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.3, GHC==8.6.5

source-repository head
type: git
location: https://github.com/jtdaugherty/vty.git

library
default-language: Haskell2010
hs-source-dirs: src
exposed-modules: Graphics.Vty.Input.Events
build-depends: base >= 4.8 && < 5,
bytestring,
deepseq >= 1.1 && < 1.6
6 changes: 4 additions & 2 deletions vty.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ library
binary,
parsec,
filepath,
directory
directory,
vty-input

if !impl(ghc >= 8.0)
build-depends: semigroups >= 0.16,
Expand All @@ -70,7 +71,6 @@ library
Graphics.Vty.Image.Internal
Graphics.Vty.Inline
Graphics.Vty.Input
Graphics.Vty.Input.Events
Graphics.Vty.Output
Graphics.Vty.Output.Mock
Graphics.Vty.Picture
Expand All @@ -81,4 +81,6 @@ library
Graphics.Vty.UnicodeWidthTable.Main
Graphics.Vty.UnicodeWidthTable.Query
Graphics.Vty.UnicodeWidthTable.Types
reexported-modules: Graphics.Vty.Input.Events

c-sources: cbits/mk_wcwidth.c

0 comments on commit e6d258b

Please sign in to comment.