Skip to content

Release v0.0.5

Choose a tag to compare

@ImElio ImElio released this 03 Oct 19:36
· 4 commits to main since this release

Features

  • Added mouse support (SGR mode): click, drag, wheel, coordinates with modifiers
  • Added bracketed paste support: safe handling of multiline pasted input

Improvements

  • Improved shutdown process: renderer and terminal state are restored more reliably
  • Refined input parser: better escape sequence handling, UTF-8 decoding, and control byte filtering
  • Introduced new options WithMouse() and WithBracketedPaste() for explicit feature enabling

Breaking Changes

  • PasteMsg now exposes field Text (previously Data)
  • MouseMsg now uses Action and Button instead of Event
  • Examples must be updated accordingly

Upgrade Notes

  • Add frog.WithMouse() to enable mouse support
  • Add frog.WithBracketedPaste() to enable paste support
  • Update code using PasteMsg.Data or MouseMsg.Event to the new fields