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

Re: Getting the dimensions of a window

In the new window system, there is a :character-size window (and
hence stream) operation, which returns two values, width and height.
However, note that this whole concept is meaningless if you are using
variable width fonts, which is why we left it out in the first place.
Grind should really be using the operation which takes a cursor position
and a string, and tells you whether the string fits on the line to
the right of the cursor position and where it leaves the cursor.