Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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!!!

  2. #2

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts