Skip to content

0.13

Choose a tag to compare

@TimonPost TimonPost released this 02 Nov 18:27
· 327 commits to master since this release
5898769
  • 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 and EnableMouseCapture commands
  • cursor module
    • Introduce static function crossterm::cursor::position in place of TerminalCursor::pos
    • Rename Goto to MoveTo
    • Rename Up to MoveLeft
    • Rename Right to MoveRight
    • Rename Down to MoveDown
    • Rename BlinkOn to EnableBlinking
    • Rename BlinkOff to DisableBlinking
    • Rename ResetPos to ResetPosition
    • Rename SavePos to SavePosition
  • terminal
    • Introduce static function crossterm::terminal::size in place of Terminal::size
    • Introduce static function crossterm::terminal::exit in place of Terminal::exit
  • style module
    • Rename ObjectStyle to ContentStyle. Now full names are used for methods
    • Rename StyledObject to StyledContent and made members private
    • Rename PrintStyledFont to PrintStyledContent
    • Rename attr method to attribute.
    • Rename Attribute::NoInverse to NoReverse
    • 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
  • Improve documentation
  • Unix terminal size calculation with TPUT