From 72f417acb5543f24f1de937cef455d8be8add917 Mon Sep 17 00:00:00 2001 From: Florrie Date: Sat, 16 Mar 2019 12:05:11 -0300 Subject: Make tui-app boilerplate support ^Z/suspend --- util/Flushable.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'util/Flushable.js') diff --git a/util/Flushable.js b/util/Flushable.js index 318bb52..058d186 100644 --- a/util/Flushable.js +++ b/util/Flushable.js @@ -31,6 +31,10 @@ module.exports = class Flushable { resizeScreen({lines, cols}) { this.screenLines = lines this.screenCols = cols + this.clearLastFrame() + } + + clearLastFrame() { this.lastFrame = undefined } -- cgit 1.3.0-6-gf8a5