Пример #1
0
 def input(self, args, key):
     if self._container.process_user_input(key):
         self.apply()
         self.redraw()
         return InputState.PROCESSED
     else:
         return NormalTUISpoke.input(self, args, key)
Пример #2
0
 def input(self, args, key):
     if self._container.process_user_input(key):
         self.apply()
         return InputState.PROCESSED_AND_REDRAW
     else:
         return NormalTUISpoke.input(self, args, key)