malison 0.13.2
malison: ^0.13.2 copied to clipboard
A little terminal UI package for the browser.
0.13.2 #
- Use a frame rate to control how often refresh() is called. Set
UI.framesPerSecondto control the rate. It defaults to 60, instead of running as fast as possible as it did before.
0.13.0 #
- Make
Screen.uinon-nullable and throw if the screen is not bound to a UI.
0.12.0 #
- Migrate to null safety.
0.11.4 #
- Translate key codes for numpad keys.
0.11.3 #
- Fix concurrent modification error when screens are pushed or popped from
within
update().
0.11.2 #
- Add
Screen.resize()and call it when theUserInterfacegets bound to a terminal with a different size.
0.11.1 #
- Add more key codes to
KeyCode.
0.11.0 #
-
Don't resize the canvas given to
RetroTerminal. -
Allow controlling the scaling for
RetroTerminal. -
Don't require double-sized source images for
RetroTerminal. Instead, it usesimageSmoothingEnabledto ensure pixels don't get fuzzy when drawing from the font canvas.This is a breaking change because it means custom font images, which used to have to be double-sized, should no longer be.
0.10.0 #
- Update to Dart 2. Remove
newandconstkeywords.
0.9.0 #
keyUp()events.
0.8.0 #
- Change
Color.blend()to take a value from (0, 1.0) instead of a percent. - Add
Color.add().
0.7.0 #
- Fill in the rest of the character codes to
CharCode. - Add
Color.blend()and store colors as RGB. - Add
foreColor,backColor, andfill()to Terminal.
0.6.0 #
- Split into two libraries. The core malison library does not import "dart:html" and can be used in command-line applications. It's not useful outside of the web, but it lets you test code in a "headless" fashion that uses malison on the standalone VM.
0.5.1 #
- Get rid of implicit casts and dynamic.
0.5.0 #
- Add type parameters to
UserInterface,KeyBindings, andScreenso that the bound objects can be precisely typed.
0.4.3 #
- Make strong mode clean.
0.4.2 #
- Widen constraint on piecemeal.
0.4.1 #
- Fix semicolon handling on Firefox.
0.4.0 #
- Add constants to
CharCodefor every character in code page 437. - Make constants
lowerCamelCase.
0.3.0 #
- Automatically create a canvas if not given one.
- Allow creating a
UserInterfacewithout an initial terminal. - Add an example app.
0.2.1 #
- Fix bad assert in
Screen._bind().
0.2.0 #
-
Redo key input handling. Instead of a (mostly broken)
Keyboardclass, it exposes raw key down events as they happen and also allows user-defined key bindings. -
Refactor
UserInterfaceand clean up how opaque/transparent screens are handled. -
Remove (useless)
write()method. -
Handle semicolon keyCode difference between Firefox (59) and Chrome (186).