home · contact · privacy
Update outdated debugging code block.
authorChristian Heller <c.heller@plomlompom.de>
Tue, 3 Jun 2025 15:24:43 +0000 (17:24 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 3 Jun 2025 15:24:43 +0000 (17:24 +0200)
ircplom.py

index 267429565c11ae8bb2124f615d290605e13a2d6f..241eab1c84d399b9895de2f6ebe617878726ddf0 100755 (executable)
@@ -572,10 +572,10 @@ class TuiLoop(Loop):
             self._calc_and_draw_all()
         # elif event.type_ == 'DEBUG':
         #     from traceback import format_exception
-        #     self._log+= [
-        #         f'DEBUG {line}' for line
-        #         in '\n'.join(format_exception(event.payload)).split('\n')]
-        #     self._log.draw()
+        #     for line in '\n'.join(format_exception(event.payload)
+        #                           ).split('\n'):
+        #         self._window.log.append(f'DEBUG {line}')
+        #     self._window.log.draw()
         else:
             return True
         self._term.flush()