Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/talogo.py
diff options
context:
space:
mode:
authorWalter Bender <walter@walter-laptop.(none)>2010-01-28 02:33:42 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2010-01-28 02:33:42 (GMT)
commitb3dc9eee00bf73681b24b0652c795dae13339a11 (patch)
tree3301a73dc342b1ecdc111cc67fd6f608e035cae3 /talogo.py
parentda1a213d4a5333729123f0f864bf72bbe5d280fd (diff)
fixed most of the selection bugs
Diffstat (limited to 'talogo.py')
-rw-r--r--talogo.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/talogo.py b/talogo.py
index ea637af..8a4c27f 100644
--- a/talogo.py
+++ b/talogo.py
@@ -162,7 +162,7 @@ def readline(lc, line):
return res
def setup_cmd(lc, str):
- lc.tw.turtle.hide()
+ lc.tw.active_turtle.hide()
lc.procstop=False
list = readline(lc, str)
lc.step = start_eval(lc, list)
@@ -179,11 +179,11 @@ def evline(lc, list):
lc.arglist = None
while lc.iline:
if lc.tw.step_time > 0:
- lc.tw.turtle.show()
+ lc.tw.active_turtle.show()
endtime = millis()+an_int(lc,lc.tw.step_time)*100
while millis()<endtime:
yield True
- lc.tw.turtle.hide()
+ lc.tw.active_turtle.hide()
token = lc.iline[0]
if token == lc.symopar:
token = lc.iline[1]
@@ -295,11 +295,11 @@ def no_args_check(lc):
raise logoerror("#noinput")
def prim_wait(lc,time):
- lc.tw.turtle.show()
+ lc.tw.active_turtle.show()
endtime = millis()+an_int(lc,time*1000)
while millis()<endtime:
yield True
- lc.tw.turtle.hide()
+ lc.tw.active_turtle.hide()
ireturn(lc); yield True
def prim_repeat(lc, num, list):
@@ -996,11 +996,11 @@ def doevalstep(lc):
try:
lc.step.next()
except StopIteration:
- lc.tw.turtle.show()
+ lc.tw.active_turtle.show()
return False
except logoerror, e:
showlabel(lc, str(e)[1:-1])
- lc.tw.turtle.show()
+ lc.tw.active_turtle.show()
return False
return True