Results 1 to 2 of 2
Hi!! I am developing an editor using ncurses and I am getting trouble with the lines of characters. Is there any way to get the text of a certain line?? ...
- 12-19-2011 #1Just Joined!
- Join Date
- Nov 2009
- Posts
- 72
get the text of line using ncurses
Hi!! I am developing an editor using ncurses and I am getting trouble with the lines of characters. Is there any way to get the text of a certain line?? or at least, to get the character of a certain position (x,y) written on the screen, so I can get all the characters of the line.
I know there is a lot of functions on man ncurses, but I have read and found nothing.
Thank you very much!!!
- 12-20-2011 #2Just Joined!
- Join Date
- Aug 2010
- Posts
- 4
winch = window-input-character
The functions you're looking for are the
ones with "inch" in the name, e.g,. "winch",
"winchstr". That's for a start. The wide-character
functions such as "in_wchstr" are more complicated
to use.


Reply With Quote