crossterm v0.13.0 Release Notes
-
๐ Major API-change, removed old-api
- โ Remove
Crossterm
type - โ Remove
TerminalCursor
,TerminalColor
,Terminal
- โ Remove
cursor()
,color()
,terminal()
- โ Remove re-exports at root, accessible via
module::types
(cursor::MoveTo
) input
module- Derive 'Copy' for 'KeyEvent'
- Add the
EnableMouseCapture
andEnableMouseCapture
commands
cursor
module- Introduce static function
crossterm::cursor::position
in place ofTerminalCursor::pos
- Rename
Goto
toMoveTo
- Rename
Up
toMoveLeft
- Rename
Right
toMoveRight
- Rename
Down
toMoveDown
- Rename
BlinkOn
toEnableBlinking
- Rename
BlinkOff
toDisableBlinking
- Rename
ResetPos
toResetPosition
- Rename
SavePos
toSavePosition
- Introduce static function
terminal
- Introduce static function
crossterm::terminal::size
in place ofTerminal::size
- Introduce static function
crossterm::terminal::exit
in place ofTerminal::exit
- Introduce static function
- ๐
style module
- Rename
ObjectStyle
toContentStyle
. Now full names are used for methods - Rename
StyledObject
toStyledContent
and made members private - Rename
PrintStyledFont
toPrintStyledContent
- Rename
attr
method toattribute
. - Rename
Attribute::NoInverse
toNoReverse
- Update documentation
- Made
Colored
private, user should use commands instead - Rename
SetFg
->SetForegroundColor
- Rename
SetBg
->SetBackgroundColor
- Rename
SetAttr
->SetAttribute
- Rename
ContentStyle::fg_color
->ContentStyle::foreground_color
- Rename
ContentStyle::bg_color
->ContentStyle::background_color
- Rename
ContentStyle::attrs
->ContentStyle::attributes
- Rename
- ๐ Improve documentation
- Unix terminal size calculation with TPUT
- โ Remove