Obsctl::TUI::Model
Constants
Constructors
Instance methods
How far up the meter the peak marker has fallen to by now, or nil once it has slid all the way back to the floor.
The highest point each meter has reached and the frame it reached it on. Storing the frame rather than decaying the value every tick keeps the peak marker a pure function of the clock, so nothing has to run between renders for it to fall.
The highest point each meter has reached and the frame it reached it on. Storing the frame rather than decaying the value every tick keeps the peak marker a pure function of the clock, so nothing has to run between renders for it to fall.
Cursor moves are clamped rather than wrapped: G on the last item and
a half page past the end both stop at the end, the way they do in vim.
Keys of a multi-key binding pressed so far, e.g. <leader>f. Non-empty
means the which-key menu is open and the next key completes or cancels.
Keys of a multi-key binding pressed so far, e.g. <leader>f. Non-empty
means the which-key menu is open and the next key completes or cancels.
Applies an optimistic volume value so rapid keyboard changes render immediately while the debounced OBS command is still pending.
Records a meter reading and raises the peak hold when the reading beats whatever is left of the last one.