diff --git a/README.md b/README.md index dbd17c1..fbd7ce1 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ The implementations currently is a wrapper fully encapsulating (our fork of) [x/ ## fortio.org/terminal/ansipixels [![Go Reference](https://pkg.go.dev/badge/fortio.org/terminal/ansipixels.svg)](https://pkg.go.dev/fortio.org/terminal/ansipixels) -A much lower level library that allow direct control of both the input and the output of the terminal. +A much lower level library that allow direct control of both the input and the output of the terminal, including mouse tracking, clicks, drag events and modifiers decoding/querying. ## FPS @@ -95,7 +95,7 @@ flags: ## Game of life -See [life/](life/) for a classic Conway's game of life black and white demo (with resizing supported etc...). +See [life/](life/) for a classic Conway's game of life black and white demo (with resizing, mouse edits, etc... supported). Same installation as above, just replace `fps` by `life`. diff --git a/life/README.md b/life/README.md index 33da0fe..47f165d 100644 --- a/life/README.md +++ b/life/README.md @@ -2,6 +2,8 @@ Game of life demo using Ansipixels. +You now can use the mouse to add at any time. + ![screenshot](life.png) ## Install/run @@ -14,15 +16,20 @@ go run fortio.org/terminal/life@latest ## Usage ``` -life 0.19.0 usage: + +life 0.25.0 usage: life [flags] or 1 of the special arguments life {help|envhelp|version|buildinfo} flags: -fill float - Random fill factor (0 to 1) (default 0.1) + Random fill factor (0 to 1) (default 0.1) -fps float - Frames per second (default 60) + Frames per second (default 60) -glider - Start with a glider (default is random) + Start with a glider (default is random) + -loglevel level + log level, one of [Debug Verbose Info Warning Error Critical Fatal] (default Info) + -nomouse + Disable mouse tracking ```