class

Fluorite::TUI::App

Inherits Opal::TEA::Model < Reference < Object

Constants

MEDIA_EXTENSIONS = Set {".mp4", ".mkv", ".mov", ".avi", ".webm", ".flv", ".wmv", ".ts", ".m4v", ".mp3", ".wav", ".ogg", ".flac", ".m4a", ".aac", ".opus", ".gif"}

Constructors

Instance methods

active_pane
Source
active_pane=(active_pane : ActivePane)
Source
current_probe
Source
current_probe=(current_probe : Probe::ProbeResult | Nil)
Source
current_runner
Source
current_runner=(current_runner : Runner::ProcessRunner | Nil)
Source
generated_cmd
Source
generated_cmd=(generated_cmd : String)
Source
header
Source
init

Returns initial commands to execute upon application startup.

Source
job_completed
Source
job_completed=(job_completed : Bool)
Source
latest_progress
Source
latest_progress=(latest_progress : Runner::Progress)
Source
media_files
Source
presets
Source
refresh_files
Source
render(buffer : Opal::UI::Buffer) : Nil

Optional direct buffer rendering for flicker-free double buffering

Source
rich_log
Source
running_job
Source
running_job=(running_job : Bool)
Source
selected_file
Source
selected_file_idx
Source
selected_file_idx=(selected_file_idx : Int32)
Source
selected_preset_idx
Source
selected_preset_idx=(selected_preset_idx : Int32)
Source
start_conversion
Source
status_message
Source
status_message=(status_message : String)
Source
update(msg : Opal::TEA::Msg) : Tuple(Opal::TEA::Model, Opal::TEA::Cmd)

Updates the model state based on an incoming message, returning the new model and optional command.

Source
update_command_preview
Source
update_selected_probe
Source
view

Renders the current state as a formatted terminal string.

Source

Nested types