35#ifndef _MINIOS_DRIVERS_VT_H_
36#define _MINIOS_DRIVERS_VT_H_
139void vt_cursor_tick(
void);
void vt_write_byte(char c)
If inside an ANSI escape sequence, feeds to the CSI parser and applies the completed command (cursor ...
Definition vt.c:731
void vt_init(void)
Clears the VGA framebuffer, resets cursor position to (0,0), sets default attribute (light gray on bl...
Definition vt.c:709
void vt_set_cursor_visible(bool visible)
Writes to VGA CRT registers VGA_CUR_START_REG (index 0x0A): sets VGA_CUR_DISABLE bit to hide,...
Definition vt.c:793
void vt_get_winsize(uint16_t *rows, uint16_t *cols)
Used by tty_ioctl TIOCGWINSZ to fill struct minios_winsize.ws_row/ws_col.
Definition vt.c:798
void vt_write(const char *buf, size_t len)
Calls vt_write_byte() for each byte in [buf, buf+len). Efficient for bulk output from tty_write() or ...
Definition vt.c:787
void vt_clear(void)
Fills all 80x25 VGA cells with space characters using the current default attribute,...
Definition vt.c:722
uint8_t vt_current_attr(void)
The attribute byte encodes foreground color (bits 3:0), background color (bits 6:4),...
Definition vt.c:807
unsigned short uint16_t
Definition types.h:31
unsigned int uint32_t
Definition types.h:34
unsigned long int uint64_t
Definition types.h:37
unsigned char uint8_t
Definition types.h:28
uint32_t len
Definition virtio_net.c:1