mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 15:32:25 +00:00
parent
61b370ecba
commit
a34ab1b978
@ -74,9 +74,7 @@ namespace Genode {
|
||||
*/
|
||||
enum { ESC = 27 };
|
||||
if ((string[0] == ESC) && (len == 5) && (string[4] == '\n')) {
|
||||
char buf[5];
|
||||
strncpy(buf, string, 5);
|
||||
_terminal->write(buf, len);
|
||||
_terminal->write(string, len - 1);
|
||||
return len;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user