summaryrefslogtreecommitdiffstats
path: root/src/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/screen.c b/src/screen.c
index 0e58a65..06292fd 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -8,7 +8,6 @@
static void vt100_screen_ensure_capacity(VT100Screen *vt, int size);
static struct vt100_row *vt100_screen_row_at(VT100Screen *vt, int row);
-static struct vt100_cell *vt100_screen_cell_at(VT100Screen *vt, int row, int col);
static void vt100_screen_scroll_down(VT100Screen *vt, int count);
static void vt100_screen_scroll_up(VT100Screen *vt, int count);
static int vt100_screen_scroll_region_is_active(VT100Screen *vt);
@@ -213,7 +212,7 @@ void vt100_screen_get_string(
}
}
-struct vt100_cell *vt100_screen_get_cell(VT100Screen *vt, int row, int col)
+struct vt100_cell *vt100_screen_cell_at(VT100Screen *vt, int row, int col)
{
return &vt->grid->rows[row + vt->grid->row_top].cells[col];
}
@@ -822,11 +821,6 @@ static struct vt100_row *vt100_screen_row_at(VT100Screen *vt, int row)
return &vt->grid->rows[row + vt->grid->row_top];
}
-static struct vt100_cell *vt100_screen_cell_at(VT100Screen *vt, int row, int col)
-{
- return &vt->grid->rows[row + vt->grid->row_top].cells[col];
-}
-
static void vt100_screen_scroll_down(VT100Screen *vt, int count)
{
struct vt100_row *row;