History log of /netbsd/lib/libcurses/delch.c (Results 1 – 25 of 30)
Revision Date Author Comments
# 33229d3e 19-Oct-2022 blymn <blymn@NetBSD.org>

Fixes for lib/56926 amongst other things:
- plod now correctly accounts for wide characters when plodding
- use erase line when in color mode if the terminal has the capability
- ensure that the C

Fixes for lib/56926 amongst other things:
- plod now correctly accounts for wide characters when plodding
- use erase line when in color mode if the terminal has the capability
- ensure that the CA_CONTINUATION flag is applied consistently to the
subsequent characters in a wide character.
- fix a bunch of refresh bugs that caused inconsistent placement of
wide characters.

show more ...


# b496d403 03-May-2022 blymn <blymn@NetBSD.org>

* Don't redraw the background if the new background character is the
same as the old one. This prevents excessive redraws in some
applications.

* Fix bug introduced when wbkgrndset was fixed

* Don't redraw the background if the new background character is the
same as the old one. This prevents excessive redraws in some
applications.

* Fix bug introduced when wbkgrndset was fixed, we cannot blindly
replace any instance of the old background character with the new one
because some of those characters were put there by the application
leading to display corruption. So flag characters as background when
they are erased and only update the flagged characters when setting
the background.

show more ...


# 38963e55 12-Apr-2022 blymn <blymn@NetBSD.org>

Make the default colour pair be pair 0 which appears to match other
curses implementations.


# f89783a2 25-Jan-2022 blymn <blymn@NetBSD.org>

Correct (hopefully) the handling of wide characters.

* Remove the WCOL family of macros, these were "stealing" the upper bits
of a character attribute to store the column width of a character. No

Correct (hopefully) the handling of wide characters.

* Remove the WCOL family of macros, these were "stealing" the upper bits
of a character attribute to store the column width of a character. No
warning was given about this in curses.h which meant it was easy to
accidentally reuse the bits in use by the WCOL macros (we already did).
Add couple of 16bit ints to the character structure iff HAVE_WCHAR is
true to hold the display width and wide char related flags (just
continuation at the moment)
* Convert all instances of WCOL macros to just reference the column width
in the char structure so it is not obfuscated.
* Fix cursor positioning so placing a cursor in the middle of a wide char
actually does just that.
* Fix plod so it understands that if the cursor is going to be positioned
in the middle of a wide char it cannot just reprint the char to get there.
* Fix plodput so it correctly counts the number of output characters for
wide characters.
* Fix slk routines to properly size the wctomb() buffer.

show more ...


# a5d2c93a 09-Jun-2019 blymn <blymn@NetBSD.org>

Rework previous fix for getch cursor position when cursor is moved
without refresh. If the window is not dirty but the window cursor
position does not match curscr then move the cursor. This fixes

Rework previous fix for getch cursor position when cursor is moved
without refresh. If the window is not dirty but the window cursor
position does not match curscr then move the cursor. This fixes
the issues seen in PR lib/54263.

show more ...


# 5bb367be 20-May-2019 blymn <blymn@NetBSD.org>

Back out incorrect fix for PR 53617 and fix it in a different way.
Keep track of the cursor location, if getch is called without a refresh
and without pending updates (dirty windows) then move the cu

Back out incorrect fix for PR 53617 and fix it in a different way.
Keep track of the cursor location, if getch is called without a refresh
and without pending updates (dirty windows) then move the cursor to the
correct location directly. Doing this prevents unnecessary refreshes.

show more ...


# 80b412b0 06-Jan-2017 roy <roy@NetBSD.org>

KNF.
Normalise coding style.
White space police.
Sprinkle some extra braces to make the flow more clear.

No functional changes.


# 48711842 02-Jan-2017 roy <roy@NetBSD.org>

Implement POSIX Curses functions immedok(3) and syncok(3).


# 43d5eb45 22-Jul-2009 roy <roy@NetBSD.org>

Prepare curses for the possibility of changing from termcap to terminfo.
term.h #defines lines, pad_char and no_color_video macros which conflict
with existing curses code. We change lines to alines

Prepare curses for the possibility of changing from termcap to terminfo.
term.h #defines lines, pad_char and no_color_video macros which conflict
with existing curses code. We change lines to alines and nlines depending
on use, pad_char to padchar and no_color_video becomes no_color_attributes
but with a strong alias from no_color_video.

show more ...


# b3fd7f36 06-Oct-2007 martin <martin@NetBSD.org>

Make the non-WCHAR variant compilable.


# e124de36 28-May-2007 blymn <blymn@NetBSD.org>

Merge in wide curses code done as a Summer of Code project by
Ruibiao Qiu.


# b7f0401b 05-Feb-2006 jdc <jdc@NetBSD.org>

Handle both background character and background attribute.


# 978ab4ad 15-Jan-2006 jdc <jdc@NetBSD.org>

Background characters and attributes don't need to be kept per character
cell, as they are merged when characters are added. Remove the per cell
storage and clarify the manual page. Pointed out by

Background characters and attributes don't need to be kept per character
cell, as they are merged when characters are added. Remove the per cell
storage and clarify the manual page. Pointed out by ruibiao@.

show more ...


# 27297af5 20-Jan-2004 wiz <wiz@NetBSD.org>

Fix recurring typo in comments. From Douwe Kiela.


# eb7c1594 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.


# f82a1102 20-Apr-2001 jdc <jdc@NetBSD.org>

Make comments match reality (delete-char instead of insert-char).


# 94f8eb04 20-May-2000 mycroft <mycroft@NetBSD.org>

GC __FORCEPAINT.


# 92a86339 18-Apr-2000 jdc <jdc@NetBSD.org>

Set background character and attributes for added characters.


# aaf74682 15-Apr-2000 blymn <blymn@NetBSD.org>

Added functions to replace what were previously macros in curses.h
(this is a requirement of SUSv2) - the old macro behaviour can be
restored by defining _CURSES_USE_MACROS.
Changed function prototyp

Added functions to replace what were previously macros in curses.h
(this is a requirement of SUSv2) - the old macro behaviour can be
restored by defining _CURSES_USE_MACROS.
Changed function prototypes to use ANSI style.
All externally visible functions now have ANSI style declarations.

show more ...


# 23464ee5 11-Apr-2000 blymn <blymn@NetBSD.org>

Made data structures opaque


# 586d4ce1 13-Apr-1999 mrg <mrg@NetBSD.org>

Upgrades the standard NetBSD curses library to provide some
of the SYSV curses facilities. The added features are the collapsing
of arrow and function keysequences (as defined by termcap for the
ter

Upgrades the standard NetBSD curses library to provide some
of the SYSV curses facilities. The added features are the collapsing
of arrow and function keysequences (as defined by termcap for the
terminal) into symbolic code returns thus relieving the application of
recognising multi-character key sequences. Other features are the
capability to perform a timed wait for a key (good for when you are
not sure if there is a keypress ready or not) and the capability for
turning off the inter-key timeout when assembling multi-character
function keys.

this work was done by Julian Coleman <J.D.Coleman@newcastle.ac.uk>
and blymn@baea.com.au (Brett Lymn). i'm just integrating it. thanks
HEAPS guys!

show more ...


# 0b7831a3 03-Feb-1998 perry <perry@NetBSD.org>

remove obsolete register declarations


# 716747aa 22-Jul-1997 mikel <mikel@NetBSD.org>

RCSid police, fix warnings


# d29088da 17-Aug-1994 cgd <cgd@NetBSD.org>

clean up import


# 2f65b613 09-Nov-1993 cgd <cgd@NetBSD.org>

repeat after me: "I hate rcs ids"


12