summaryrefslogtreecommitdiffstats
path: root/screen-display.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2008-06-04 18:50:35 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2008-06-04 18:50:35 +0000
commit39be570b2079c38609ae6cc6c6e2bf937649d481 (patch)
tree99daaadf37fecb72bde436e591dd0eaa91cdeed9 /screen-display.c
parent04c60283c42618f8f97e49452e1022908b4ec5e6 (diff)
vi keys from Will Maier.
Diffstat (limited to 'screen-display.c')
-rw-r--r--screen-display.c10
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(