1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Write newline when closing the kernel debugger.

This commit is contained in:
Jonas 'Sortie' Termansen 2015-05-15 19:02:31 +02:00
parent 41d4dbdce7
commit 39d8894fc0

View file

@ -260,6 +260,9 @@ void ReadCommand(char* buffer, size_t buffer_length)
{ {
if ( !ignore_next_f10 ) if ( !ignore_next_f10 )
{ {
if ( !written )
PrintString("exit");
PrintString("\n");
strncpy(buffer, "exit", buffer_length); strncpy(buffer, "exit", buffer_length);
break; break;
} }