Skip to content

ccanvas/ccanvas-scroll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ccanvas-scroll

Scrolling text display component for ccanvas.

Usage

Make sure that ccanvas-scroll is installed. For example using the cargo install command.

cargo install --git https://github.com/ccanvas/ccanvas-scroll

Add it to your program, make sure that feature scroll is enabled in libccanvas.

client.spawn("scroll".to_string(), "ccanvas-scroll".to_string(), Vec::new()).await;

For more usage info, check page at libccanvas/scroll.

Behaviour

When loaded, emits message !scroll-ready, or the constant SCROLL_READY in libccanvas.

Environment variables

These are the accepted environment variables.

Label Description Format (Default)
LINE_WRAP Whether to wrap to a new line when reaches the end 0/1 (1)
WORD_WRAP Whether whitespace is preferred for line wrapping 0/1 (0)
MAX_ENTRIES Maximum number of entries to retain Number (100)

About

Scrolling text display for ccanvas.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages