Raxol.Terminal.Scroll.Sync (Raxol v0.5.0)

View Source

Handles scroll synchronization across terminal splits.

Summary

Functions

Creates a new sync instance.

Synchronizes scroll operations across splits.

Types

t()

@type t() :: %Raxol.Terminal.Scroll.Sync{
  last_sync: non_neg_integer(),
  sync_enabled: boolean()
}

Functions

new()

@spec new() :: t()

Creates a new sync instance.

sync(sync, direction, lines)

@spec sync(t(), :up | :down, non_neg_integer()) :: t()

Synchronizes scroll operations across splits.