bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Infinite loop with define_key() and TERM=xterm


From: John McCutchan
Subject: Infinite loop with define_key() and TERM=xterm
Date: Tue, 4 Mar 2003 02:12:42 -0500
User-agent: Mutt/1.5.3i

Hello,

I have noticed this bug in ncurses for many years now. Here is a sample
program that causes ncurses to get into an infinite loop. This only
happens when TERM=xterm. If TERM=linux it does not cause a problem.

#include <ncurses.h>

int main(int argc, char **argv)
{
    initscr();

    keypad(stdscr, TRUE);

    define_key("\eO", 720);

    endwin();
}

John




reply via email to

[Prev in Thread] Current Thread [Next in Thread]