Skip to content

onelone852/germinal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Germinal

A gleam (not pure-gleam), terminal manipulation library based on crossterm and rustler. Currently, the functionality is not complete and unsafe to use. This library can only be run in erlang VM, but the support of Javascript would be considered in the future.

To see the source code, see Github.

Package Version Hex Docs

gleam add germinal
import germinal

pub fn main() {
    use _ <- result.try(germinal.enable_raw_mode())
    use res <- result.try(germinal.read())
    io.debug(res)
    use _ <- result.try(germinal.disable_raw_mode())
    Ok(Nil)
}

Further documentation can be found at https://hexdocs.pm/germinal.

Development

gleam run   # Run the project
gleam test  # Run the tests
gleam shell # Run an Erlang shell

About

A terminal manipulation library in Gleam that based on crossterm in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published