Added blinking cursor and settings

* The cursor can now be controlled with the cursor command,
  documented in examples and in scripting docs.
This commit is contained in:
2021-02-16 23:47:52 +01:00
parent e23559fd72
commit 0b3f3e38d1
7 changed files with 94 additions and 1 deletions
+27
View File
@@ -0,0 +1,27 @@
set terminal 60x10
set colors 16
set typedelay 250
set fps 30
cursor blink 500
cursor show
delay 2000
type "We have a cursor!"
delay 2000
type <return>
cursor style solid
type "We can even change the style..." <return>
cursor blink 0
type "And we can make it blink not at all..."
delay 1000
cursor blink 100
type " or like its life depended on it!"
delay 2000
Binary file not shown.

After

Width:  |  Height:  |  Size: 236 KiB

Binary file not shown.
+2 -1
View File
@@ -1,5 +1,6 @@
set terminal 80x25
cursor style solid
showkeys ctrl alt shift F4 up up down down left right left right B A
savepng keys.png
savepng keys.png
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB