|
From: | Thomas Dickey |
Subject: | Re: Multiline text input possible at all using ncurses? |
Date: | Sun, 28 Mar 2010 09:05:46 -0400 (EDT) |
On Sat, 27 Mar 2010, Harishankar wrote:
My apologies if this is not the right group to post this question, but I couldn't find any other ncurses group that was active and didn't have spam. Is it at all possible to get multiline text input in a scrollable widget in ncurses without using a third party library?
From python, I'd assume you'd have to build it up (using ncurses calls ofcourse). The form library provides multiline input, and I see that it mentions scrolling. I don't recall if the python bindings cover that.
I am looking to develop a simple curses application in Python, but the python module provides only curses.textpad which is extremely limited and doesn't allow a scrollable text editor. How easy or difficult is it to get multiline text input in an ncurses application? Is there any example code which I can find on the internet, because I've spent a few days trying to find one, but there are no obvious places to look this up. Most of the ncurses tutorials are very basic. -- Harishankar (http://harishankar.org http://literaryforums.org) _______________________________________________ Bug-ncurses mailing list address@hidden http://lists.gnu.org/mailman/listinfo/bug-ncurses
-- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
[Prev in Thread] | Current Thread | [Next in Thread] |