Try logging just the commands.
This commit is contained in:
+3
-2
@@ -129,7 +129,8 @@ class StackDisplayWorld(World):
|
|||||||
command = command.strip()
|
command = command.strip()
|
||||||
if self.has(command) and self.check(command) == False: # not in {True, None}:
|
if self.has(command) and self.check(command) == False: # not in {True, None}:
|
||||||
return
|
return
|
||||||
print('\njoy?', command)
|
# print('\njoy?', command)
|
||||||
|
print(command)
|
||||||
super(StackDisplayWorld, self).interpret(command)
|
super(StackDisplayWorld, self).interpret(command)
|
||||||
|
|
||||||
def print_stack(self):
|
def print_stack(self):
|
||||||
@@ -163,7 +164,7 @@ class StackWorld(StackDisplayWorld):
|
|||||||
self.viewer.update_stack(self.stack)
|
self.viewer.update_stack(self.stack)
|
||||||
|
|
||||||
def print_stack(self):
|
def print_stack(self):
|
||||||
StackDisplayWorld.print_stack(self)
|
# StackDisplayWorld.print_stack(self)
|
||||||
if self.viewer:
|
if self.viewer:
|
||||||
self.viewer.update_stack(self.stack)
|
self.viewer.update_stack(self.stack)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user