Skip to content

Commit

Permalink
updated to newest textual version + footer
Browse files Browse the repository at this point in the history
  • Loading branch information
hweichelt committed Jun 5, 2024
1 parent 0cf4088 commit cb78289
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ readme = "README.md"
dependencies = [
"clingo>=5.7.1",
"autoflake",
"textual==0.62.0",
"textual==0.65.1",
]
classifiers = [
"Development Status :: 4 - Beta",
Expand Down
5 changes: 2 additions & 3 deletions src/clingexplaid/cli/textual_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,9 +351,6 @@ class ClingexplaidTextualApp(App):

# pylint: disable=too-many-instance-attributes

BINDINGS = [
("ctrl+x", "exit", "Exit"),
]
CSS = MAIN_CSS

def __init__(self, files: List[str], constants: Dict[str, str]) -> None:
Expand All @@ -368,6 +365,8 @@ def __init__(self, files: List[str], constants: Dict[str, str]) -> None:
self._loaded_files: Set[str] = set()
self._loaded_signatures: Set[Tuple[str, int]] = set()

self.bind("ctrl+x", "exit", description="Exit", key_display="CTRL+X")

def compose(self) -> ComposeResult:
"""
Composes the `ClingexplaidTextualApp`'s components
Expand Down

0 comments on commit cb78289

Please sign in to comment.