Maybe exist some way to use the ESC key, for example, to exit of main program, stop animation, and others.
I try use 27 how decimal ASCII code but don't work. Perhaps I did mistake in something or ESC is not accessible key.
The follow is a code that I was use.
Code: Select all
handle_hard_keys(
{
str=ghk
if str=27
{
print("ESC pressed",-100,-35,WHITE)
}
}
,
{
}
)