module Lime::Modules::Window

Overview

The window of the console.

Extended Modules

Defined in:

lime/modules.cr

Class Method Summary

Instance Method Summary

Class Method Detail

def self.height : Int32 #

Returns the height of the window in cells, zero-based.


[View source]
def self.height_cells : Int32 #

Returns the width of the window in cells, one-based.


[View source]
def self.height_pixels : Int32 #

Returns the height of the window in pixels.


[View source]
def self.width : Int32 #

Returns the width of the window in cells, zero-based.


[View source]
def self.width_cells : Int32 #

Returns the height of the window in cells, one-based.


[View source]
def self.width_pixels #

Returns the width of the window in pixels.


[View source]

Instance Method Detail

def scrollbar=(scrollbar : Bool) #

Disables or enables the alternative screen buffer for the console which doesn't have a scrollbar.


[View source]
def title=(title) #

Sets the title of the window to title.


[View source]
def update #

[View source]