[Top][All Lists]

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

Re: Truncate instead of wrap

From: Thomas Dickey
Subject: Re: Truncate instead of wrap
Date: Sun, 14 Dec 2008 16:50:15 -0500 (EST)

On Fri, 12 Dec 2008, Virchanza wrote:

Here's what I got so far. It's not great but I had to throw it together
quickly. You use the function "printw_truncate" to print a truncated line to
the screen. The function "printw_truncate" in turn calls the function
"printw_truncate_no_new_line" in order to deal with strings that contain
new-line characters.

I think it could be done most easily by using a subwindow whose scrolling
property is set to false.

Thomas E. Dickey

reply via email to

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