Skip to content

Set cbreak when starting#63

Open
rsmarples wants to merge 1 commit intomtoyoda:masterfrom
rsmarples:cbreak
Open

Set cbreak when starting#63
rsmarples wants to merge 1 commit intomtoyoda:masterfrom
rsmarples:cbreak

Conversation

@rsmarples
Copy link
Copy Markdown

From nodelay(3)

Initially the terminal may or may not be in cbreak mode, as the mode is
inherited; therefore, a program should call cbreak or nocbreak
explicitly. Most interactive programs using curses set the cbreak mode.
Note that cbreak overrides raw. [See curs_getch(3X) for a discussion of
how these routines interact with echo and noecho.]

This allows sl to function perfectly on NetBSD Curses.

From nodelay(3)

Initially the terminal may or may not be in cbreak mode, as the mode is
inherited; therefore, a program should call cbreak or nocbreak
explicitly. Most interactive programs using curses set the cbreak mode.
Note that cbreak overrides raw. [See curs_getch(3X) for a discussion of
how these routines interact with echo and noecho.]

This allows sl to function perfectly on NetBSD Curses.
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

Successfully merging this pull request may close these issues.

1 participant