Link to home
Start Free TrialLog in
Avatar of sonic2000
sonic2000

asked on

curses to draw a box

hi experts,

i am trying to draw a closed thick box. however the use of characters like hypens, pipes, or underscore cannot give me a closed thick box.

how?
Avatar of wesly_chen
wesly_chen
Flag of United States of America image

Hi,

    You mean draw a thick box in a text editor like vi?
How about use "#" instead?

Wesly
Avatar of sonic2000
sonic2000

ASKER

i need a thick closed border box.
anyway what does it got to do with the text editor i am using? anyway i am using vim.
Hi,
 
   vim is advanced version of vi.

   However, with text editor, which deals with ASCII code, it's hard to draw a closed box.
However, you can use "+" at each corner of the box.

Wesly
i read about ACS_BLOCK.
How to use all those color constants and drawings?
doesn't seem to work.
Hi,

   ACS_BLOCK is a parameter for programming fuctions which are defined in ocurses.h.
It's not for plain text file.

Wesly
ASKER CERTIFIED SOLUTION
Avatar of stefan73
stefan73
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial