Commit Graph

8 Commits

Author SHA1 Message Date
jdc 4b9cace222 Handle function argument changes to __newwin().
Don't call clearok() for new windows in newterm() - it caused a screen erase
on the first refresh() of the window.
2002-12-23 12:25:10 +00:00
jdc 4eb3ef3dac Set the curses default colours to white on black when using colour.
See the Single UNIX Specification, Version 2 :

  http://www.opengroup.org/onlinepubs/007908799/xcurses/can_change_color.html

Also, add the functions :

	use_default_colors();
	assume_default_colors(fore, back);

(from ncurses) that allow the terminal default colours or user-specified
default colours to be used.
2002-08-04 16:43:04 +00:00
itojun 2f69e2e14d handle non-tty cases more gracefully. 2002-06-26 18:23:28 +00:00
blymn ef5927835e Remove extraneous tabs from blank lines. 2002-01-02 10:38:27 +00:00
blymn 4118c45610 * Fixed uninitialiased variable problem in newterm
* Implemented better fix for screen not clearing for refresh()
  when newterm used to start curses.
2001-12-31 14:16:01 +00:00
blymn d7893fc457 Make newterm set the default screen if the old default screen was
ended, stops new vi crashing.  Thanks to Aymeric Vincent for the fix.
2001-12-30 13:20:35 +00:00
blymn 98f703ff1e Fix newterm so it syncs curscr to stdscr when term is created. Thanks
to Onno van der Linden for finding this bug.
2001-12-27 10:48:15 +00:00
blymn c84d91aad5 * Major change to add support for the newterm/set_term functions.
* Added fix to getch.c suggested by Gabriel Rosenkoetter (thanks :-)
2001-12-02 09:14:20 +00:00