diff --git a/test/widget-nowrap.js b/test/widget-nowrap.js index 191289d..a26a87e 100644 --- a/test/widget-nowrap.js +++ b/test/widget-nowrap.js @@ -14,9 +14,9 @@ var box = blessed.box({ width: 60, wrap: false, tags: true, - //content: fs.readFileSync(__filename, 'utf8') - content: '{red-bg}' + blessed.escape('{{{{{}{bold}x{/bold}}') + '{/red-bg}' - + '\nescaped: {green-fg}{escape}{{{}{{a{bold}b{/bold}c{/escape}{/green-fg}' + content: fs.readFileSync(__filename, 'utf8') + //content: '{red-bg}' + blessed.escape('{{{{{}{bold}x{/bold}}') + '{/red-bg}' + // + '\nescaped: {green-fg}{escape}{{{}{{a{bold}b{/bold}c{/escape}{/green-fg}' }); box.focus();