diff options
author | Florrie <towerofnix@gmail.com> | 2019-04-02 08:19:45 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2019-04-02 08:19:45 -0300 |
commit | dff1213ae0069afcc0aa1b87daa6658732f742b8 (patch) | |
tree | 371ab6a99ba3928bdb52210dd2c1d7eb77c35917 /util/Flushable.js | |
parent | df0e9afe7aedd3dc6a1d0db72530a52e135af649 (diff) | |
parent | 72f417acb5543f24f1de937cef455d8be8add917 (diff) |
Merge branch 'master' of ssh://ed1.club/home/florrie/git/tui-lib
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 } |