We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c81460 commit 477ac44Copy full SHA for 477ac44
src/peplum/app/peplum.py
@@ -6,7 +6,7 @@
6
7
##############################################################################
8
# Textual imports.
9
-from textual.app import InvalidThemeError
+from textual.app import InvalidThemeError, ScreenStackError
10
11
12
# Textual enhanced imports.
@@ -67,7 +67,10 @@ def __init__(self, arguments: Namespace) -> None:
67
self.theme = arguments.theme or configuration.theme
68
except InvalidThemeError:
69
pass
70
- self.update_keymap(configuration.bindings)
+ try:
71
+ self.update_keymap(configuration.bindings)
72
+ except ScreenStackError: # https://github.com/Textualize/textual/issues/5742
73
+ pass
74
75
def watch_theme(self) -> None:
76
"""Save the application's theme when it's changed."""
0 commit comments