Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

curses.h halfdelay() can, in fact, be turned off again. #6

Open
wyatt8740 opened this issue Apr 24, 2017 · 2 comments
Open

curses.h halfdelay() can, in fact, be turned off again. #6

wyatt8740 opened this issue Apr 24, 2017 · 2 comments

Comments

@wyatt8740
Copy link

The code in gtevent.c says in the comments that you don't think the halfdelay() function can be disabled once enabled. But in reality it appears it can be done with cbreak() (or nocbreak() if you need to use that mode instead). I think that the program starts off in cbreak() mode, so a call to the function should disable halfdelay() again. You don't have to keep polling uselessly every 10 seconds.

I have not fixed the code because I am not very skilled with ncurses, but I might attempt it eventually if it starts to bother me. Just filing this report as a heads-up.

@wyatt8740
Copy link
Author

@erkyrath
Copy link
Owner

Thanks. The whole glkterm library is pretty badly out of date, but I'll look at this if I get back to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants