aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--TUTORIAL.md8
-rw-r--r--desktop/sources/scripts/terminal.js2
2 files changed, 9 insertions, 1 deletions
diff --git a/TUTORIAL.md b/TUTORIAL.md
index c700ab8..087912b 100644
--- a/TUTORIAL.md
+++ b/TUTORIAL.md
@@ -104,6 +104,14 @@ CA1.
.dAz
```
+### Not Null
+
+```
+cYc
+J.J
+cFc
+```
+
### Hold Bang
```
diff --git a/desktop/sources/scripts/terminal.js b/desktop/sources/scripts/terminal.js
index 1f15060..813244c 100644
--- a/desktop/sources/scripts/terminal.js
+++ b/desktop/sources/scripts/terminal.js
@@ -316,7 +316,7 @@ export default function Terminal () {
const current = { w: winSize[0], h: winSize[1] }
if (current.w === size.w && current.h === size.h) { console.warn('Terminal', 'No resize required.'); return }
console.log('Source', `Fit terminal for ${this.orca.w}x${this.orca.h}(${size.w}x${size.h})`)
- win.setSize(size.w, size.h, false)
+ win.setSize(parseInt(size.w), parseInt(size.h), false)
this.resize()
}