Mercurial > libervia-backend
comparison libervia/cli/call_tui.py @ 4270:0d7bb4df2343
Reformatted code base using black.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 19 Jun 2024 18:44:57 +0200 |
parents | 79c8a70e1813 |
children |
comparison
equal
deleted
inserted
replaced
4269:64a85ce8be70 | 4270:0d7bb4df2343 |
---|---|
112 | 112 |
113 # we detect render | 113 # we detect render |
114 if self.render_class is None: | 114 if self.render_class is None: |
115 self.render_class = t_image.auto_image_class() | 115 self.render_class = t_image.auto_image_class() |
116 | 116 |
117 loop_sleep = 1/self.fps | 117 loop_sleep = 1 / self.fps |
118 | 118 |
119 with self.input.raw_mode(): | 119 with self.input.raw_mode(): |
120 # for whatever reason, using self.input.attach is breaking KittyImage and uses | 120 # for whatever reason, using self.input.attach is breaking KittyImage and uses |
121 # a BlockImage style rendering instead. So we don't use it and we call | 121 # a BlockImage style rendering instead. So we don't use it and we call |
122 # ``self.keys_ready()`` ourself in the loop, below. | 122 # ``self.keys_ready()`` ourself in the loop, below. |