19 void con_set_font(struct dtx_font *font, int sz);
20 int con_set_history_size(int hsz);
21 int con_set_output_buffer_size(int sz);
22 void con_set_command_func(void (*func)(const char*, void*), void *cls);
24 void con_set_echo(int echo);
25 int con_get_echo(void);
29 void con_set_visible(int v);
30 int con_is_visible(void);
32 void con_set_size(int lines, int columns);
33 int con_get_size_lines(void);
34 int con_get_size_columns(void);
36 /* update returns true if what it did makes a redraw necessary */
41 void con_input_key(int key); /* send a keystroke to the console */
43 void con_putchar(char c);
44 void con_puts(const char *str);
45 void con_printf(const char *fmt, ...);
49 #endif /* CONSOLE_H_ */