struct TermBuf::Ops::SetScrollRegion

Overview

Confine scrolling to rows top through bottom, inclusive. The terminal homes the cursor as a side effect.

Defined in:

termbuf/core/op.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(top : Int32, bottom : Int32) #

[View source]

Instance Method Detail

def bottom : Int32 #

def clone #

[View source]
def copy_with(top _top = @top, bottom _bottom = @bottom) #

[View source]
def top : Int32 #