Created attachment 415092 [details]
patch with widget
Description of problem:
Library lacks ability to receive multi-line input from user. It will be good to enhance it and create new newtMEntry widget for this purpose.
Version-Release number of selected component (if applicable):
P.S. Sorry, I understand that this is not a bug, but I didn't find newt development mailing list :(
This bug appears to have been reported against 'rawhide' during the Fedora 14 development cycle.
Changing version to '14'.
More information and reason for this action is here:
There is no newt development list, filing bugs against Fedora newt package is fine.
I'm not sure how useful is this patch. From a multi-line entry I'd expect it to be scrolling only vertically with wrapping at a fixed width. I'd keep only one buffer for whole entry, add vertical scrolling and wrap lines that are longer that the entry width.
If it should be something similar to the GTK Text widget, adding support for editing to the textbox widget might be a better idea.
In any case, the patch would definitely need more work before accepting, the test example segfaulted for me when trying to add a fifth line in the entry and there were read errors reported by valgrind when scrolling horizontally on the first line. Also, the movement with arrow keys in the entry and around widgets doesn't work very well.
Miroslav, thank you for your comments - appreciated.
I'll rewrite patch some time later and post new "bug" than. This one is CLOSED.