Skip to content

Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.

C++

ctrl+c quits the launch screens like ctrl+q; only a running download or tune asks first (B13)

Niko122138c7f7017dfc
diff --git a/strata_cli/launch/app.py b/strata_cli/launch/app.py
index 1e8f7bcff..3e8b7cf5a 100644
--- a/strata_cli/launch/app.py
+++ b/strata_cli/launch/app.py
@@ -189,6 +189,8 @@ class Ctx:
class LaunchApp(App):
TITLE = "strata launch"
CSS = CSS
+ # Textual's own ctrl+c only shows a "Do you want to quit?" note, and Escape pressed next also went Back (B13): ctrl+c quits like ctrl+q and q
+ BINDINGS = [Binding("ctrl+c", "quit", "Quit", show=False, priority=True)]
def __init__(self, ctx: Ctx, *, auto_run: bool = False) -> None:
super().__init__()
@@ -203,6 +205,13 @@ class LaunchApp(App):
self.running = False
self.current = "start"
+ def action_quit(self) -> None:
+ """ctrl+q and ctrl+c, as q on the screens: leave at once. Only a running download or tuning asks first ("Stop now?"), because work would be lost."""
+ if self.running and self.run_screen is not None:
+ self.stop_run(self.run_screen)
+ else:
+ self.exit(None)
+
def on_mount(self) -> None:
if self.auto_run:
self.run_launch()