Export to GitHub

lanterna - issue #67

Multi-Line Text Box


Posted on Feb 1, 2013 by Massive Rabbit

MultilineTextBox - main difference from a regular text box would be the behavior of the Enter key. The Enter key would insert a newline, and the text box itself would redraw to show the appropriate line breaks just like Label.

Comment #1

Posted on Mar 20, 2013 by Grumpy Ox

Yes, this is similar to an editable TextArea which has been requested several times. It's on the TODO list for the GUI redesign I'm working on now.

Comment #2

Posted on Mar 27, 2013 by Happy Lion

I created an editable TextArea because I needed it for my work. For now there is no scroll bars, but the Enter/Return/Delete and Insert keys are working. I think it can be fully functional and tested the next week. According to the project's license, I'll share the modifications in my personal clone of the project the next week :)

Comment #3

Posted on Apr 20, 2013 by Grumpy Ox

Nice! I'll pull it in if you don't mind :D

Status: Done

Labels:
Type-Enhancement Priority-Medium