blessed on npm

0.1.81 (03 Sep 2015 01:09)

A high-level terminal interface library for node.js.


CHANGELOG.md

Blessed v0.1.0 - new terminal goodies for node.js

blessed

The features demonstrated in the above gif element transparency/shadow and border docking.

New useful options for your typewriter application:

  • transparent option - Lower element opacity to 50%. This will display dimmed elements and content behind the foreground element using a naive color blending function (good enough for a terminal's limited amount of colors). works best with 256color terminals. (see widget-shadow.js)

  • shadow option - Give the element a translucent shadow. Automatically darkens the background behind it. (see widget-shadow.js)

  • dockBorders option - Element borders will automatically "dock" to each other. Instead of overlapping the borders end up connecting. (see widget-dock.js)

  • autoPadding default - Auto padding is now enabled by default, meaning blessed will automatically position elements inside their parent's border.

  • rleft property - Relative offsets are now default element properties (left instead of rleft).

  • draggable property - Make any element draggable with the mouse. (see widget-shadow.js or widget-dock.js)

  • Table and ListTable elements - Tables with a high quality rendering. (see widget-table.js and widget-listtable.js)

  • Log element - A top to bottom logger box with scrollback and other features. (see widget-log.js)

  • Obscurable borders - In addition to docking borders, it's possible to obscure borders by sliding them off the screen with negative offsets. (see widget-dock.js)

  • Percentage expressions - Like CSS, arithmetic can now be performed on percentages. e.g. width: '50%-1'. This is useful for overlapping borders on elements with a percentage width. (see widget-dock.js)

Other features that weren't mentioned before:

  • setHover option - Set a hover text box to follow cursor on mouseover, similar to how a web browser handles the "title" attribute. (see widget.js)

  • Terminal element - Spin up a pseudo terminal as a blessed element. useful for writing a terminal multiplexer. (requires term.js and pty.js as optional dependencies). (see example/multiplex.js)

  • Image element - Uses w3mimgdisplay to draw real images your terminal. this is much easier than calling w3mimgdisplay by hand. Image elements behave like any other element, although it is wise to use width: 'shrink', height: 'shrink'. (see widget-image.js)


The major things that justified the 0.1.0 release were fixes and stabilization of api (autoPadding/rleft/left). Scrolling boxes were almost completely revamped to work a bit smarter.


Things yet to come:

  • @secrettriangle's improvements for textareas - This allows for real text navigation.

  • Gravity and margin layouts

This is something that's been in the idea bin for a while. Every element could potentially have properties like:

  gravity: 'bottomleft',
  margin: 5,
``

In other words, just a more complex `float` system than what the CSSOM is used
to.

Version History

Version Date
0.1.81 03 Sep 2015 01:09
0.1.80 10 Aug 2015 17:08
0.1.21 09 Aug 2015 10:08
0.1.20 31 Jul 2015 07:07
0.1.19 31 Jul 2015 06:07
0.1.18 31 Jul 2015 03:07
0.1.17 30 Jul 2015 12:07
0.1.16 30 Jul 2015 10:07
0.1.15 23 Jul 2015 09:07
0.1.14 19 Jul 2015 12:07
0.1.13 19 Jul 2015 12:07
0.1.12 18 Jul 2015 22:07
0.1.11 17 Jul 2015 10:07
0.1.10-1 17 Jul 2015 10:07
0.1.10 17 Jul 2015 03:07
0.1.7 07 Jul 2015 01:07
0.1.61 20 Jun 2015 01:06
0.1.60 22 May 2015 02:05
0.1.56 02 May 2015 10:05
0.1.55 02 May 2015 05:05
0.1.54 30 Apr 2015 16:04
0.1.53 26 Apr 2015 13:04
0.1.52 26 Apr 2015 13:04
0.1.51 26 Apr 2015 12:04
0.1.5 19 Apr 2015 05:04
0.1.4 19 Apr 2015 03:04
0.1.2 18 Apr 2015 04:04
0.1.1 17 Apr 2015 00:04
0.1.0 10 Apr 2015 21:04
0.0.51 19 Mar 2015 11:03
0.0.50 18 Mar 2015 06:03
0.0.49 25 Feb 2015 02:02
0.0.48 25 Feb 2015 02:02
0.0.47 13 Feb 2015 09:02
0.0.46 13 Feb 2015 09:02
0.0.45 12 Feb 2015 01:02
0.0.44 07 Feb 2015 08:02
0.0.43 01 Feb 2015 17:02
0.0.42 01 Feb 2015 06:02
0.0.41 01 Feb 2015 04:02
0.0.40 31 Jan 2015 20:01
0.0.39 30 Jan 2015 06:01
0.0.38 20 Jan 2015 04:01
0.0.37 27 Jun 2014 05:06
0.0.36 17 Jun 2014 03:06
0.0.35 11 Jun 2014 08:06
0.0.34 09 Jun 2014 22:06
0.0.33 02 Jun 2014 13:06
0.0.32 02 Jun 2014 08:06
0.0.31 02 Jun 2014 01:06
0.0.30 01 Jun 2014 00:06
0.0.29 19 Jan 2014 08:01
0.0.28 18 Jan 2014 02:01
0.0.27 16 Jan 2014 21:01
0.0.26 04 Jan 2014 22:01
0.0.25 04 Sep 2013 02:09
0.0.24 25 Aug 2013 04:08
0.0.22 08 Aug 2013 18:08
0.0.21 08 Aug 2013 17:08
0.0.20 04 Aug 2013 07:08
0.0.19 29 Jul 2013 22:07
0.0.18 17 Jul 2013 15:07
0.0.17 17 Jul 2013 00:07
0.0.16 17 Jul 2013 00:07
0.0.15 16 Jul 2013 01:07
0.0.14 12 Jul 2013 16:07
0.0.13 12 Jul 2013 16:07
0.0.12 12 Jul 2013 16:07
0.0.11 12 Jul 2013 10:07
0.0.10 12 Jul 2013 10:07
0.0.9 10 Jul 2013 17:07
0.0.8 04 Jul 2013 07:07
0.0.7 30 Jun 2013 00:06
0.0.6 06 Mar 2013 10:03
0.0.4 01 Mar 2013 00:03
0.0.3 02 Feb 2013 03:02
0.0.1 27 Jan 2013 17:01
0.0.0 27 Jan 2013 10:01