Does A_UNDERLINE work in Ncurses-ruby ?

N

Nit Khair

Has anyone used this attribute while printing to a window ?

It is not working on my system from ruby (although it works from a C
program, and also using Highline which uses escape sequences).

Please let me know if you have identified the bug, or know a workaround.

I also notice that the Highline escape sequences work in an IRB session,
but they do not work in an Ncurses window (I suppose thats obvious since
the shell is not interpreting the window print).

(I might add that underlining works if you are using an NCurses FIELD,
but obviously that's using the underlying C code and not ruby-ncurses).
 
N

Nit Khair

Nit said:
Has anyone used this attribute while printing to a window ?

The problem lies with the terminal named "screen". It underlines when
writing to stdscr, but NOT to a window.

Other terminals such as xterm, vt100 etc all underline correctly.
However, I do notice that screen renders colors most faithfully.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,150
Latest member
MakersCBDReviews
Top