[Cgdb-devel] ncurses vs curses
Brought to you by:
bobbybrasko,
crouchingturbo
From: Bob R. <bob...@co...> - 2003-02-18 00:02:14
|
Hi guys, I recieved this bug report today via Email. The only ( minor ) thing that bothers me is that my xterms have a white background by default, while cgdb use a black one, and, halas, do not=20 refresh the full screen at start, only parts where it have real text=20 to display. Ok, it's just a matter of resizing window a bit to force=20 a display refresh, but ... as i said, it's the only bothering thing=20 (and nearly the only reason to continue checking for new cgdb versions) So, I decided to look into fixing the default color cgdb uses. Well it seems that I can't find a way to do it in curses. I can only find an extension to ncurses that does the trick. The 2 functions use_default_colors and assume_default_colors are ncurses extensions. So, I already fixed the bug by changing several lines of code in cgdb. However, it only works if the user links with ncurses. Not curses. So I thought maybe we should just stop supporting curses, Since it doesn't by our users much. What do you guys think? Bobby |