[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Combining ncurses and GNU readline (follow-up with example code)

From: Ulf Magnusson
Subject: Combining ncurses and GNU readline (follow-up with example code)
Date: Thu, 26 Feb 2015 07:33:47 +0100


(I originally meant to post this as a reply to
but it'd require some messing about with headers since I was not
subscribed to the mailing list then.)

There seems to be a dearth of simple examples in this area. One of the
trickier aspects is that readline does not export its cursor position,
meaning you have to do some manual work to get it right for special

I've put together a simple example at
https://github.com/ulfalizer/readline-and-ncurses. I'll work it into a
more classical select loop for another project later. Constructive
criticism welcome!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]