summaryrefslogtreecommitdiffstats
path: root/src/screen.c
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-09-13 17:53:54 -0400
committerJesse Luehrs <doy@tozt.net>2014-09-13 17:53:54 -0400
commit5932a1caefb5b1254ced4d6bc460c14aab5cc3b4 (patch)
treec9758860cfd60cfa7be263e6cb38e25de7830e40 /src/screen.c
parentb3a0c537021614ef76a181783aad504c7bf4c2e3 (diff)
downloadlibvt100-5932a1caefb5b1254ced4d6bc460c14aab5cc3b4.tar.gz
libvt100-5932a1caefb5b1254ced4d6bc460c14aab5cc3b4.zip
whoops, already had this function
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;