summaryrefslogtreecommitdiff
path: root/src/user/highway/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/highway/main.c')
-rw-r--r--src/user/highway/main.c23
1 files changed, 6 insertions, 17 deletions
diff --git a/src/user/highway/main.c b/src/user/highway/main.c
index 60d5a69..c9ceee2 100644
--- a/src/user/highway/main.c
+++ b/src/user/highway/main.c
@@ -1,32 +1,21 @@
-#include <terminal/terminal.h>
-#include <terminal/readline.h>
+#include <libterm/terminal.h>
+#include <libterm/readline.h>
-#include <libfont/fonts.h>
-
-#include <knob/format.h>
-#include <knob/heap.h>
#include <knob/task.h>
#include "cmds.h"
#include "line.h"
-#define FONT_NAME "berry"
-
void main(const char *arg) {
- struct font_info *f = get_font(FONT_NAME);
-
- if (!f)
- return;
-
- active_term = make_term(f, 50, 18);
- if (!active_term)
- return;
+//syslogf(" this task: 0x%2h", this_task);
+//syslogf(" stdio task: 0x%2h", stdio_task);
+//syslogf("calling task: 0x%2h", calling_task);
source(*arg ? arg : "user/default.rc");
ensure_color();
term_add_sz("Portland Highway\nType \"help\" for help.\n");
- paint_term();
+ term_paint();
char cmd_buf[128];
while (1) {