dock test.

This commit is contained in:
Christopher Jeffrey 2015-04-08 01:38:56 -07:00
parent 95364dd229
commit eebbcdd702
1 changed files with 1 additions and 12 deletions

View File

@ -102,7 +102,6 @@ bottomright.focus();
var over = blessed.box({ var over = blessed.box({
parent: screen, parent: screen,
hidden: true,
left: 'center', left: 'center',
top: 'center', top: 'center',
width: '50%', width: '50%',
@ -115,17 +114,7 @@ var over = blessed.box({
right: true, right: true,
bottom: true bottom: true
}, },
content: 'Foo' content: 'Drag Me'
});
screen.on('keypress', function() {
over.toggle();
screen.render();
});
screen.key('escape', function() {
over.hide();
screen.render();
}); });
screen.key('q', function() { screen.key('q', function() {