doesnt output backspace character (invalid to print)

This commit is contained in:
Thiago Auler 2017-11-28 10:03:17 -02:00 committed by GitHub
parent 368e3fc02d
commit 078763b80c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,10 @@ void output()
{
display_buffer = '\n';
}
addch(display_buffer);
refresh();
if (display_buffer != 0x7F)
{
addch(display_buffer);
refresh();
}
}
}