This commit is contained in:
2026-05-11 20:24:40 +02:00
parent 15cd593b33
commit 73c711336d
7 changed files with 190 additions and 0 deletions

View File

@@ -70,6 +70,7 @@ module BBS
when :pick then run_pick(step)
when :body then run_body(step)
when :output then run_output(step)
when :tui then run_tui(step)
end
end
@@ -341,6 +342,13 @@ module BBS
nil
end
def run_tui(step)
TUIRunner.new(@session, @session_id, step[:definition]).run
nil
rescue IOError, Errno::EPIPE, Errno::ECONNRESET
:halt
end
# ── helpers ────────────────────────────────────────────────────────────────
def strip_md(text)