class

LapisSlides::CastBuilder::Session

Inherits Reference < Object

Constructors

Instance methods

clear_screen(advance : Float64 = 0.05)
Source
current_time
Source
emit(delay : Float64, text : String)
Source
events
Source
home_cursor(advance : Float64 = 0.02)
Source
pause(seconds : Float64)
Source
progress_bar(label : String, total_steps : Int32 = 10, step_delay : Float64 = 0.12, &block : Int32 -> String)

In-place dynamic progress bar (guaranteed <= 86 cols)

Source
save(path : String, width : Int32, height : Int32, title : String, force : Bool = false)
Source
spinner(message : String, frames_count : Int32 = 14, delay : Float64 = 0.07)

Animated Braille spinner

Source
spinner_done(message : String, delay : Float64 = 0.15)
Source
type_command(cmd : String, prompt : String, cps : Float64 = 22.0)

Simulates human typing cadence with randomized character jitter

Source