mirror of
https://github.com/dvorka/hstr.git
synced 2024-09-20 14:56:14 +08:00
prevent carriage return from being mapped to newline
This commit is contained in:
parent
3bec345dd6
commit
9b175b9c1e
|
@ -26,6 +26,7 @@ void hstr_curses_start()
|
||||||
initscr();
|
initscr();
|
||||||
keypad(stdscr, TRUE);
|
keypad(stdscr, TRUE);
|
||||||
noecho();
|
noecho();
|
||||||
|
nonl();
|
||||||
terminalHasColors=has_colors();
|
terminalHasColors=has_colors();
|
||||||
if(terminalHasColors) {
|
if(terminalHasColors) {
|
||||||
start_color();
|
start_color();
|
||||||
|
|
Loading…
Reference in a new issue