aboutsummaryrefslogtreecommitdiff
path: root/screen-display.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2008-09-09 22:16:37 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2008-09-09 22:16:37 +0000
commit19a2c87f049155439427e40d0cc78041da4d0b99 (patch)
tree03d67440bb693b3257850a54007f9b03027d1bdc /screen-display.c
parent1e145a639be109f53381c64bd83483d32ffc8524 (diff)
downloadrtmux-19a2c87f049155439427e40d0cc78041da4d0b99.tar.gz
rtmux-19a2c87f049155439427e40d0cc78041da4d0b99.tar.bz2
rtmux-19a2c87f049155439427e40d0cc78041da4d0b99.zip
Initial UTF-8 support.
Diffstat (limited to 'screen-display.c')
-rw-r--r--screen-display.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/screen-display.c b/screen-display.c
index be8c8e93..4760d8ee 100644
--- a/screen-display.c
+++ b/screen-display.c
@@ -1,4 +1,4 @@
-/* $Id: screen-display.c,v 1.20 2008-09-08 22:03:54 nicm Exp $ */
+/* $Id: screen-display.c,v 1.21 2008-09-09 22:16:36 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -22,6 +22,15 @@
#include "tmux.h"
+/* Get a cell. */
+void
+screen_display_get_cell(struct screen *s,
+ u_int px, u_int py, u_char *data, u_short *attr, u_char *fg, u_char *bg)
+{
+ screen_get_cell(
+ s, screen_x(s, px), screen_y(s, py), data, attr, fg, bg);
+}
+
/* Set a cell. */
void
screen_display_set_cell(struct screen *s,