From c8545e1bd4f8c6e1074c88121e1746e087037720 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Wed, 18 Jul 2018 22:52:00 +0200 Subject: [PATCH] Textarea: readEditor(): call callback after editing --- lib/widgets/textarea.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/widgets/textarea.js b/lib/widgets/textarea.js index dc94609c..fbc1bece 100644 --- a/lib/widgets/textarea.js +++ b/lib/widgets/textarea.js @@ -331,7 +331,7 @@ Textarea.prototype.readEditor = function(callback) { } self.setValue(value); self.screen.render(); - return self.readInput(callback); + return callback(value); }); };