Haskell FFI bindings to libvterm (neovim fork) — a VT220/xterm/ECMA-48 terminal emulator library.
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"nix develop
just build
just unit
just CIMIT