NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/53617: getch(3) does not cause implicit refresh(3) on stdscr
>Number: 53617
>Category: lib
>Synopsis: getch(3) does not cause implicit refresh(3) on stdscr
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 18 22:15:00 +0000 2018
>Originator: Kamil Rytarowski
>Release: NetBSD 8.99.24 amd64
>Organization:
TNF
>Environment:
NetBSD rugged 8.99.24 NetBSD 8.99.24 (GENERIC) #8: Fri Aug 31 21:55:37 CEST 2018 root@chieftec:/public/netbsd-root/sys/arch/amd64/compile/GENERIC amd64
>Description:
Calling getch() will cause an
implicit refresh() on stdscr.
-- getch(3)
When I move a cursor with move(3) to a new position, it's position is not updated on getch(3).
This works well with ncurses.
>How-To-Repeat:
#include <curses.h>
int
main(int argc, char **argv)
{
initscr();
move(10,10);
getch();
endwin();
return 0;
}
>Fix:
N/A
There is a workaround to explicitly call refresh(3) that makes it work.
Home |
Main Index |
Thread Index |
Old Index