diff options
author | Florrie <towerofnix@gmail.com> | 2019-03-16 12:05:11 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2019-03-16 12:05:11 -0300 |
commit | 72f417acb5543f24f1de937cef455d8be8add917 (patch) | |
tree | 654eb880627110219d0e08d75ba2746188f1f17e /util/Flushable.js | |
parent | aa38d1beb78635e5273b89b76c6a2b91428dd62c (diff) |
Make tui-app boilerplate support ^Z/suspend
Diffstat (limited to 'util/Flushable.js')
-rw-r--r-- | util/Flushable.js | 4 |
1 files changed, 4 insertions, 0 deletions
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 } |