Skip to content

Commit

Permalink
finished first prototype of textual interface
Browse files Browse the repository at this point in the history
  • Loading branch information
hweichelt committed May 16, 2024
1 parent c1f9af2 commit c129cc1
Show file tree
Hide file tree
Showing 2 changed files with 384 additions and 45 deletions.
5 changes: 2 additions & 3 deletions src/clingexplaid/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from clingo.application import clingo_main

from .cli.clingo_app import ClingoExplaidApp
from .cli.textual_gui import ClingexplaidTextualApp
from .cli.textual_gui import textual_main

RUN_TEXTUAL_GUI = False

Expand All @@ -18,8 +18,7 @@ def main() -> None:
"""

if RUN_TEXTUAL_GUI:
app = ClingexplaidTextualApp()
app.run()
textual_main()
else:
clingo_main(ClingoExplaidApp(sys.argv[0]), sys.argv[1:] + ["-V0"])

Expand Down
Loading

0 comments on commit c129cc1

Please sign in to comment.