From c7eb4ba4d36e599c5751dcd34ca9f84aecfd2255 Mon Sep 17 00:00:00 2001 From: Francisco Hodge Date: Mon, 30 Apr 2018 10:37:09 -0400 Subject: [PATCH] Adding newLineOnEnter in demo --- src/demo/App.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/demo/App.js b/src/demo/App.js index 3a83b6a0..d93c4375 100644 --- a/src/demo/App.js +++ b/src/demo/App.js @@ -13,7 +13,8 @@ class App { debug: true, layoutName: this.layoutName, onChange: input => this.onChange(input), - onKeyPress: button => this.onKeyPress(button) + onKeyPress: button => this.onKeyPress(button), + newLineOnEnter: true }); this.keyboard.setInput("Hello World!");