Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
CRT::Ansi::Buffer
Inherits
Reference
<
Object
Constructors
new
(width :
Int
, height :
Int
, *, style :
Style
=
Style
.default, context :
Context
=
CRT::Ansi
.context)
Source
Instance methods
==
(other :
Buffer
) :
Bool
Source
cell
(x :
Int
, y :
Int
) :
Cell
Source
clear
(style :
Style
= @default_style) :
Nil
Source
context
Source
copy_from
(other :
Buffer
) :
Nil
Source
default_style
Source
height
Source
put
(x :
Int
, y :
Int
, grapheme :
String
, style :
Style
= @default_style) :
Nil
Source
width
Source
write
(x :
Int
, y :
Int
, text :
String
, style :
Style
= @default_style) :
Int32
Source