diff options
Diffstat (limited to 'screen-display.c')
-rw-r--r-- | screen-display.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/screen-display.c b/screen-display.c index 2d42210f..e433c883 100644 --- a/screen-display.c +++ b/screen-display.c @@ -1,4 +1,4 @@ -/* $Id: screen-display.c,v 1.14 2007-12-06 22:13:14 nicm Exp $ */ +/* $Id: screen-display.c,v 1.15 2008-06-04 18:50:34 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -22,6 +22,14 @@ #include "tmux.h" +/* Get a cell. */ +void +screen_display_get_cell(struct screen *s, + u_int px, u_int py, u_char *data, u_char *attr, u_char *colr) +{ + screen_get_cell(s, screen_x(s, px), screen_y(s, py), data, attr, colr); +} + /* Set a cell. */ void screen_display_set_cell( |