Swarmy::Views
Instance methods
columns
SourceRenders the "· filter: x" badge shown next to the service count when a filter is active, or "" when there is none.
Computes the [first, last) row range to render so that cursor stays visible within a window of visible rows out of total, scrolling only as needed (keeps the cursor centered once it outgrows the top or bottom edge) rather than jumping straight to either end.
Renders the inline "/query any key applies esc cancels" prompt shown while editing the filter.
server_columns
Sourceserver_row(table : Tui::Table, name : String, hint : String, active : Bool, selected : Bool) : String
Sourceservice_detail(svc : Service, tasks : Array(Task), running : Array(Task), task_cursor : Int32, width : Int32 = 60) : String
Source