TUI
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user