|
From: Mojca M. <moj...@gm...> - 2013-05-21 12:16:06
|
Dear developers,
I'm trying to understand how exactly the boxed text should be
implemented in a terminal, but it's not clear to me how it even works.
Is the implementation of enhanced text mode necessary? I see that the
terminal should provide a function
boxed_text(unsigned int x, unsigned int y, int option)
but it's not clear to me what the function needs to do.
Can I expect a scenario like this one?
boxed_text(...,...,0) # initialize
put_text(<x>,<y>,"some") # label1
put_text(<x>,<y>,"text") # label2
put_text(<x>,<y>,"floating") # label3
put_text(<x>,<y>,"around") # label4
boxed_text(...,...,1)
where the last command is supposed to draw a frame around all four
labels, no matter where on the picture they are?
If not - how exactly should this work?
Mojca
|