Skip to content

v0.0.5

Pre-release
Pre-release
Compare
Choose a tag to compare
@rhysd rhysd released this 22 Feb 06:16
· 83 commits to main since this release
  • BREAKING: Make some new constructor functions into From::from trait implementations with more generic arguments using Into trait.
  • BREAKING: Avoid heap allocation on a single-key key binding by changing KeySeq struct to an enum.
  • BREAKING: Rename KeySeq::matches to KeySeq::match_to.
  • BREAKING: Hide KeyInput's fields and add getter methods KeyInput::key, KeyInput::mods.
  • Add support for Shift modifier again. Shift modifier key is only available with named keys like Shift+Up. For example, when you want to define key binding for Shift + A, you need to use A instead of Shift+a. This restriction is for avoiding some confusing edge cases and may be relaxed in the future.
  • Make fields of Keybind struct public.
  • Fix error handling on parsing invalid empty key bindings.
  • Fix non-ASCII spaces like U+3000 are not available for key binding.
  • Define the key binding syntax in the separate document.