summaryrefslogtreecommitdiffstats
path: root/src/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/screen.c b/src/screen.c
index ab65adf..04249dd 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -213,6 +213,11 @@ void vt100_screen_get_string(
}
}
+struct vt100_cell *vt100_screen_get_cell(VT100Screen *vt, int row, int col)
+{
+ return &vt->grid->rows[row + vt->grid->row_top].cells[col];
+}
+
void vt100_screen_audible_bell(VT100Screen *vt)
{
vt->audible_bell = 1;