diff options
Diffstat (limited to 'src/user/highway')
-rw-r--r-- | src/user/highway/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/user/highway/main.c b/src/user/highway/main.c index 47f3985..bcc3e01 100644 --- a/src/user/highway/main.c +++ b/src/user/highway/main.c @@ -14,9 +14,11 @@ void main(const char *arg) { term_add_sz("Portland Highway\nType \"help\" for help.\n"); term_paint(); + struct history *h = new_history(200); + char cmd_buf[128]; while (1) { - read_line(cmd_buf, 127, "> "); + read_line(cmd_buf, 127, "> ", h); run_line(cmd_buf); } }
\ No newline at end of file |