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:
27
examples/cursorblink.ftm
Normal file
27
examples/cursorblink.ftm
Normal 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
|
||||
|
||||
|
BIN
examples/cursorblink.gif
Normal file
BIN
examples/cursorblink.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 236 KiB |
BIN
examples/cursorblink.mp4
Normal file
BIN
examples/cursorblink.mp4
Normal file
Binary file not shown.
@ -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
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Reference in New Issue
Block a user