aboutsummaryrefslogtreecommitdiff
path: root/src/sysbin/terminal/main.c
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2017-05-04 11:48:08 +0200
committerAlex Auvolat <alex@adnab.me>2017-05-04 11:48:08 +0200
commit9bb1c5371affb2ff0b83256470dec7461b404264 (patch)
tree9db7cd56713864a07f047572bfa2d55a5a9933dd /src/sysbin/terminal/main.c
parent1161e1d8be014945266017cb0ce735537a287677 (diff)
downloadkogata-9bb1c5371affb2ff0b83256470dec7461b404264.tar.gz
kogata-9bb1c5371affb2ff0b83256470dec7461b404264.zip
Beginning of tk.lua
Diffstat (limited to 'src/sysbin/terminal/main.c')
-rw-r--r--src/sysbin/terminal/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sysbin/terminal/main.c b/src/sysbin/terminal/main.c
index 4805f9d..77bf141 100644
--- a/src/sysbin/terminal/main.c
+++ b/src/sysbin/terminal/main.c
@@ -101,10 +101,10 @@ int main(int argc, char **argv) {
term.kb = init_keyboard();
ASSERT(term.kb != 0);
- term.font = g_load_ascii_bitmap_font("sys:/fonts/default.bf");
+ term.font = g_load_ascii_bitmap_font("sys:/fonts/pcvga.bf");
ASSERT(term.font != 0);
- term.cw = g_text_width(term.font, "#");
- term.ch = g_text_height(term.font, "#");
+ term.cw = g_text_width(term.font, "#", 8);
+ term.ch = g_text_height(term.font, "#", 8);
gip_handler_t *h = new_gip_handler(&term_gip_cb, &term);
ASSERT(h != 0);