(almost) Golly softlock

Has something gone haywire? Let us know about it!
Post Reply
fluffykitty
Posts: 1175
Joined: June 14th, 2014, 5:03 pm
Contact:

(almost) Golly softlock

Post by fluffykitty » December 29th, 2016, 12:44 pm

If you run this script:

Code: Select all

import golly as g
while 1:
	g.note("This was a bad idea.")
the only way to stop it is to close the textbox and stop the script at the same time. You should probably be able to stop scripts while a textbox is open.

User avatar
dvgrn
Moderator
Posts: 10616
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI
Contact:

Re: (almost) Golly softlock

Post by dvgrn » December 29th, 2016, 3:32 pm

fluffykitty wrote:...the only way to stop it is to close the textbox and stop the script at the same time. You should probably be able to stop scripts while a textbox is open.
As long as there's a textbox you're usually okay -- at least, I can escape from this kind of loop by just holding down the Escape key for a little while.

Maybe on faster computers the next dialog always pops up before the next key repeat? I've never had a computer where the Escape key didn't break out of a textbox loop eventually.

Post Reply