OpenGrok
Cross Reference: inchstr.c
xref
: /
src
/
lib
/
libcurses
/
inchstr.c
Home
|
History
|
Annotate
|
Download
|
only in
libcurses
History log of
/src/lib/libcurses/inchstr.c
Revision
Date
Author
Comments
1.12
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.11
15-Aug-2021
rillig
branches: 1.11.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.10
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.9
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.8
24-Feb-2019
roy
Fix warn macro usage.
Thanks to rofl0r.
1.7
06-Jan-2017
roy
branches: 1.7.14;
KNF.
Normalise coding style.
White space police.
Sprinkle some extra braces to make the flow more clear.
No functional changes.
1.6
21-Apr-2012
blymn
branches: 1.6.14;
Fix build break if curses is built without wide char support
1.5
21-Apr-2012
blymn
Remove trailing whitespace
1.4
07-Aug-2011
blymn
branches: 1.4.2;
Merge the attributes into the returned characters.
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.2.1
23-May-2012
yamt
sync with head.
1.6.14.1
07-Jan-2017
pgoyette
Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
1.7.14.1
10-Jun-2019
christos
Sync with HEAD
1.11.4.1
02-Aug-2025
perseant
Sync with HEAD
Indexes created Thu Sep 25 16:09:42 GMT 2025