aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorCody <cody@codyq.dev>2023-06-28 14:28:43 -0500
committerCody <cody@codyq.dev>2023-06-28 14:28:43 -0500
commitda89b3f6cdf17dbaeba9aa25e22f1b8313f97536 (patch)
tree4ef0b3f5c9f56a872b7387437590baebbf29a5ed /examples
parent2cf498f7bf1311ebca156315a0c9ac25b0addef5 (diff)
downloadsloth-da89b3f6cdf17dbaeba9aa25e22f1b8313f97536.tar.gz
Cursor hiding in conways game of life
Diffstat (limited to 'examples')
-rw-r--r--examples/cgol.sloth1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/cgol.sloth b/examples/cgol.sloth
index a5b761f..4f7ea28 100644
--- a/examples/cgol.sloth
+++ b/examples/cgol.sloth
@@ -98,6 +98,7 @@ fn main() Int {
# Populate
var life: [Int] = populate();
display(life);
+ curshide();
# Play forever
while true {
var new: [Int] = populate();