Raxol.Terminal.Scroll.Predictor (Raxol v0.5.0)
View SourceHandles predictive scrolling operations for the terminal.
Summary
Types
@type t() :: %Raxol.Terminal.Scroll.Predictor{ history: [map()], window_size: non_neg_integer() }
Functions
@spec new() :: t()
Creates a new predictor instance.
@spec predict(t(), :up | :down, non_neg_integer()) :: t()
Predicts the next scroll operation based on history.