Open jamesdabbs opened 10 years ago
Try using some of the widget tests as a base: https://github.com/chjj/blessed/blob/master/test/widget-textarea.js
I'm not sure what the exact problem you're describing is, but that textarea example might get you off to a good start. Let me know how it goes.
:+1:
It's all ok with textarea
, but not with textbox
.
it looks like Textbox doesn't take input.
Textboxes appear to be write-once, which makes it hard to correct typos. To reproduce, start with the inclueded
simple-form
example and add:Then press
down
,enter
, type some text, and pressenter
. At this point neitheri
norenter
seem to switch to insert mode, thoughe
to edit still works (and leaves me in insert mode in the field after exiting from my editor). Am I misunderstanding the intended behavior?