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();
|
||||
keypad(stdscr, TRUE);
|
||||
noecho();
|
||||
nonl();
|
||||
terminalHasColors=has_colors();
|
||||
if(terminalHasColors) {
|
||||
start_color();
|
||||
|
|
Loading…
Reference in a new issue