1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-21 09:38:01 +02:00
joplin/CliClient/app/gui/ConsoleWidget.js
2017-10-15 17:57:09 +01:00

20 lines
285 B
JavaScript

const ListWidget = require('tkwidgets/ListWidget.js');
class ConsoleWidget extends ListWidget {
constructor() {
super();
}
get name() {
return 'console';
}
addItem(v) {
super.addItem(v);
this.currentIndex = this.items.length - 1;
}
}
module.exports = ConsoleWidget;