Skip to content

lambdasistemi/libvterm-haskell

Repository files navigation

libvterm-haskell

Haskell FFI bindings to libvterm (neovim fork) — a VT220/xterm/ECMA-48 terminal emulator library.

Usage

import System.Terminal.LibVTerm

main :: IO ()
main = withTerm 24 80 $ \term -> do
    feedInput term "Hello, world!\r\n"
    cell <- getCell term (Pos 0 0)
    print (cellChars cell) -- "H"

Development

nix develop
just build
just unit
just CI

License

MIT

About

Haskell FFI bindings to libvterm (neovim fork) — VT220/xterm terminal emulator library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors