Open sebolio opened 4 years ago
I'm getting this as well, I think the library just isn't being updated anymore.
@tr4g Your fork doesn't exist any more. Do you still have a snippet that fixes the problem?
Anyone have a patch for this?
Ok, this worked for me:
diff --git a/lib/widgets/textarea.js b/lib/widgets/textarea.js
index dc94609..9813867 100644
--- a/lib/widgets/textarea.js
+++ b/lib/widgets/textarea.js
@@ -172,9 +172,9 @@ Textarea.prototype.readInput = function(callback) {
self.screen.restoreFocus();
}
- if (self.options.inputOnFocus) {
- self.screen.rewindFocus();
- }
+ // if (self.options.inputOnFocus) {
+ // self.screen.rewindFocus();
+ // }
// Ugly
if (err === 'stop') return;
Hi, so I have 2 textboxes and I'm trying to type text on both of them. When I click the first it works fine, but when I click on the second box, the cursor stays on the first one and typing text makes the first box to add every letter twice and the second doesn't add anything.
Code is here:
Also, some times when pressing
tab
the program crashes with