diff options
author | marvinborner | 2019-09-18 11:03:36 +0200 |
---|---|---|
committer | marvinborner | 2019-09-18 11:03:36 +0200 |
commit | 68838789574c9a39b7382c67e8cc984a8c928fe6 (patch) | |
tree | 37ad4a3af71df09357fb2b911749b80e55ed849e /src | |
parent | 8e0c4dc52871e720f793db0b21e1b4f504cefcf9 (diff) |
Fixed commands
Diffstat (limited to 'src')
-rw-r--r-- | src/graphics/vga.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/graphics/vga.c b/src/graphics/vga.c index 603a579..5fb205b 100644 --- a/src/graphics/vga.c +++ b/src/graphics/vga.c @@ -2,6 +2,7 @@ #include <stdint.h> #include "../io/io.h" #include "../lib/lib.h" +#include "../commands/command.h" // Hardware text mode color constants enum vga_color { @@ -109,7 +110,7 @@ void terminal_put_char(char c) { } else if (c == '\r') { terminal_column = 0; } else if (c == '\n') { - exec_command(line); + exec_command(terminal_get_line()); terminal_column = 0; terminal_row++; terminal_scroll(); |