Skip to content

jtdaugherty/vty-crossplatform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vty-crossplatform

This package provides a way to depend on the right platform-specific Vty package at build time by detecting the build environment's operating system.

To use this package instead of a specific platform package:

  • Add a package dependency on vty-crossplatform
  • Import mkVty from Graphics.Vty.CrossPlatform
  • Call mkVty to initialize the terminal

Behind the scenes, this package will depend on the right platform package at compile time.

At present, this provides support via the following platform-specific packages:

Adding more platform packages

Got a new Vty platform package you want to integrate here? The only build-time requirement to integrate with this package is simply that the new package exports a function called mkVty with type VtyUserConfig -> IO Vty. Open a ticket with a request to add your package and we can work out the details.

About

Build-time cross-platform package for Vty

Resources

License

Stars

Watchers

Forks

Packages

No packages published