I've been developing a curses gemini client in C. It works fine
linked with ncurses (-lncurses at link time), but I'm now trying to
switch to ncursesw for wide character/utf-8 support. I figured
there'd be some bugs for be to track down, but the first one has me
stumped.
With no other changes other than the library linking, when I start the program, everything is cut off at the 20 column mark (on an 80
character screen). I've tried this on the linux console, Eterm, and
uxterm all with the same result. If I set the environment variable COLUMNS=320 (4*80), I get the full screen, except some functions (like
box() ) now really think the window is 320 columns.
Am I missing something here?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 380 |
Nodes: | 16 (2 / 14) |
Uptime: | 53:01:31 |
Calls: | 8,144 |
Files: | 13,085 |
Messages: | 5,858,807 |