OSDN Git Service

Try logging just the commands.
authorSimon Forman <sforman@hushmail.com>
Sun, 10 May 2020 19:18:34 +0000 (12:18 -0700)
committerSimon Forman <sforman@hushmail.com>
Sun, 10 May 2020 19:18:34 +0000 (12:18 -0700)
joy/gui/world.py

index be6f61c..098da9f 100644 (file)
@@ -129,7 +129,8 @@ class StackDisplayWorld(World):
                command = command.strip()
                if self.has(command) and self.check(command) == False:  # not in {True, None}:
                        return
-               print('\njoy?', command)
+               # print('\njoy?', command)
+               print(command)
                super(StackDisplayWorld, self).interpret(command)
 
        def print_stack(self):
@@ -163,7 +164,7 @@ class StackWorld(StackDisplayWorld):
                self.viewer.update_stack(self.stack)
 
        def print_stack(self):
-               StackDisplayWorld.print_stack(self)
+               StackDisplayWorld.print_stack(self)
                if self.viewer:
                        self.viewer.update_stack(self.stack)