OpenGrok
Cross Reference: instr.c
xref
: /
src
/
lib
/
libcurses
/
instr.c
Home
|
History
|
Annotate
|
Download
|
only in
libcurses
History log of
/src/lib/libcurses/instr.c
Revision
Date
Author
Comments
1.9
23-Dec-2024
blymn
Sprinkle about some cycle wasting checks for the win pointer being
null. Unfortunately, ncurses does this and there is some sloppy code
out there that relies on the check resulting in segfaults in
NetBSD curses which then, of course, gets blamed for the error.
1.8
15-Aug-2021
rillig
branches: 1.8.4;
libcurses: fix usage of __warn_references
Since that macro can expand to an empty token list, it adds its own
semicolon as needed. Removing the extra semicolon fixes the lint
warnings about empty declarations. These empty declarations are a GCC
extension.
1.7
09-Jun-2019
blymn
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.
1.6
20-May-2019
blymn
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.
1.5
24-Feb-2019
roy
Fix warn macro usage.
Thanks to rofl0r.
1.4
07-Aug-2011
blymn
branches: 1.4.42;
Fix a bug that prevented instr and friends returning OK.
1.3
22-Jul-2009
roy
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.
1.2
02-Jan-2002
blymn
Remove extraneous tabs from blank lines.
1.1
01-Jan-2001
simonb
Add the instr and inchstr families of functions.
1.4.42.1
10-Jun-2019
christos
Sync with HEAD
1.8.4.1
02-Aug-2025
perseant
Sync with HEAD
Indexes created Sat Sep 27 22:09:54 GMT 2025