15 Commits

Author SHA1 Message Date
38edc191ae Add additional sample "Robot"
This matches the use-input sample from Ink, although I may go full Snake on this in the future.
2020-11-21 01:38:38 -05:00
1a0d5e2bb3 Explicitly flush after write
This ensures the trailing line clear, which is not suffixed with a newline, is processed.
2020-10-28 23:07:20 -04:00
153e254467 Ensure final frame is rendered
...using some not-so-pretty yields...
2020-10-28 10:07:00 -04:00
0384c6b1e6 Revert "Use asciinema-vsync to process asciinema before making SVGs"
This reverts commit 8b482322d03aa842d1be213221539362a45f7aac.
2020-10-27 16:27:26 -04:00
8b482322d0 Use asciinema-vsync to process asciinema before making SVGs 2020-10-22 11:52:09 -04:00
0fced024f5 Deterministic Jest output 2020-10-20 17:08:16 -04:00
733610b7a8 Prevent most flickering while rendering
Instead of moving the cursor up and clearing each line before rendering the output, move to the top first, print each line, and then clear the rest of the line to erase old output. This avoids the case where all lines are empty for a few milliseconds as the sequences are being parsed.
2020-10-20 11:10:09 -04:00
bb9d698e57 Add a script to update example READMEs with output 2020-10-20 00:15:16 -04:00
bb08e710c4 Replace launchInComposition with LaunchedTask 2020-10-19 22:09:57 -04:00
bd0de027ad Add support for foreground and background color 2020-10-13 16:00:24 -04:00
dbe03d45b5 Add high-level DSL entrypoint
This handles blocking the caller thread, setting up the coroutine scope for work, and waiting for the final frame to render.

Also add a new simple example (although it's partially broken since the final frame is missing).
2020-09-25 14:21:21 -04:00
e485daa34c Solve the final frame problem by returning a handle
With this you can wait for the next render before canceling to ensure that the final state is correctly sent to output.
2020-09-25 12:10:55 -04:00
b6fdfc25ce Simplify Jest example by conforming to standard Gradle layout 2020-09-24 22:47:30 -04:00
19723ea5e9 Add timer to Jest sample 2020-09-24 16:04:59 -04:00
b5424985ea Move example to its own project 2020-09-24 13:12:25 -04:00