struct TermBuf::ScrollHint

Overview

A scroll the buffer performed on itself, recorded so the painter can reach for the terminal's own scrolling instead of rediscovering the shift from row hashes. The painter still verifies a hint against those hashes before trusting it.

Defined in:

termbuf/core/buffer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(rect : Rect, lines : Int32) #

[View source]

Instance Method Detail

def lines : Int32 #

Rows scrolled, positive meaning content moved up.


[View source]
def rect : Rect #

The rows that moved.


[View source]
def to_s(io : IO) : Nil #
Description copied from struct Struct

Same as #inspect(io).


[View source]