Skip to content

Commit

Permalink
Bugfix: this was not returned when shutting down
Browse files Browse the repository at this point in the history
  • Loading branch information
cronvel committed Dec 28, 2016
1 parent cfbbad0 commit 2c23fe2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@

v0.26.1
-------

Bugfix: this was not returned when shutting down


v0.26.0
-------

Expand Down
2 changes: 1 addition & 1 deletion lib/Terminal.js
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ function createOptimized( term )
// It is binded at the function creation and contains function specificities!
function applyEscape( options )
{
if ( options.root.shutdown ) { return ; }
if ( options.root.shutdown && ! options.str ) { return options.root ; }

var onFormat = [ options.on ] , output , on , off ;

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "terminal-kit",
"version": "0.26.0",
"version": "0.26.1",
"description": "256 colors, keys and mouse, input field, screen buffer, interactive 'yes or no', and many more... Whether you just need colors and styles, build a simple interactive command line tool or a complexe terminal app: this is the absolute terminal lib for Node.js!",
"main": "lib/termkit.js",
"directories": {
Expand Down

0 comments on commit 2c23fe2

Please sign in to comment.