struct Tput::Resize

Overview

An in-band terminal resize report (DEC private mode 2048): the new size in character cells, plus the window size in pixels when the terminal provides it (0 when unknown).

Defined in:

tput/input.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(rows : Int32, cols : Int32, pixel_height : Int32, pixel_width : Int32) #

[View source]

Instance Method Detail

def clone #

[View source]
def cols : Int32 #

def copy_with(rows _rows = @rows, cols _cols = @cols, pixel_height _pixel_height = @pixel_height, pixel_width _pixel_width = @pixel_width) #

[View source]
def pixel_height : Int32 #

def pixel_width : Int32 #

def rows : Int32 #