diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2020-06-18 19:45:40 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2020-06-18 19:45:40 -0700 |
commit | 425ef692da7e74112f88f0b368f3286dba84f846 (patch) | |
tree | d45729e90010e8d8c539031c3b72165f6884575d /sys/cmd/dvtm/vt.h | |
parent | 0522b4bf4e125b7ceb67f7177db692aed3a0ebf9 (diff) |
feat: working parser for rc shell language
Diffstat (limited to 'sys/cmd/dvtm/vt.h')
-rw-r--r-- | sys/cmd/dvtm/vt.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/cmd/dvtm/vt.h b/sys/cmd/dvtm/vt.h index 3d4d129..dfc94b3 100644 --- a/sys/cmd/dvtm/vt.h +++ b/sys/cmd/dvtm/vt.h @@ -2,7 +2,7 @@ #pragma once #include <u.h> -// #include <vendor/curses.h> +#include <vendor/curses.h> #include <stdbool.h> #include <sys/types.h> @@ -18,7 +18,7 @@ void vt_init(void); void vt_shutdown(void); void vt_keytable_set(char const * const keytable_overlay[], int count); -void vt_default_colors_set(Vt*, attr_t attrs, int fg, int bg); +void vt_default_colors_set(Vt*, attr_t attrs, short fg, short bg); void vt_title_handler_set(Vt*, vt_title_handler_t); void vt_urgent_handler_set(Vt*, vt_urgent_handler_t); void vt_data_set(Vt*, void *); @@ -37,8 +37,8 @@ ssize_t vt_write(Vt*, const char *buf, size_t len); void vt_mouse(Vt*, int x, int y, mmask_t mask); void vt_dirty(Vt*); void vt_draw(Vt*, WINDOW *win, int startrow, int startcol); -int vt_color_get(Vt*, int fg, int bg); -int vt_color_reserve(int fg, int bg); +int vt_color_get(Vt*, short fg, short bg); +int vt_color_reserve(short fg, short bg); void vt_scroll(Vt*, int rows); void vt_noscroll(Vt*); |