fix: ctrl-q now properly exits

This commit is contained in:
2026-07-15 19:17:21 +02:00
parent 48e0903542
commit c77686250e
4 changed files with 37 additions and 5 deletions

View File

@@ -107,9 +107,10 @@ defmodule BDS.ServerTest do
end)
end
test "tui mode is the server plus a local TUI" do
test "tui mode is the server plus a local TUI that stops the VM on quit" do
assert BDS.Application.mode_children(:tui, :prod) ==
BDS.Application.mode_children(:server, :prod) ++ [{BDS.TUI, []}]
BDS.Application.mode_children(:server, :prod) ++
[{BDS.TUI, [stop_vm_on_exit: true]}]
end
test "desktop mode delegates to desktop_children" do