diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-04 19:03:52 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-10-04 19:03:52 +0000 |
commit | 1f9a8e70d90265de8a3e1b0a981d3ef5b1352e52 (patch) | |
tree | 018210dd36bc8ec617921a75f2928aff488327e5 /input.c | |
parent | 418fb3938d2e8da39a4776d01ff3f65aca2c686f (diff) | |
download | rtmux-1f9a8e70d90265de8a3e1b0a981d3ef5b1352e52.tar.gz rtmux-1f9a8e70d90265de8a3e1b0a981d3ef5b1352e52.tar.bz2 rtmux-1f9a8e70d90265de8a3e1b0a981d3ef5b1352e52.zip |
Incomplete resize support.
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: input.c,v 1.19 2007-10-03 10:18:32 nicm Exp $ */ +/* $Id: input.c,v 1.20 2007-10-04 19:03:51 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -427,7 +427,9 @@ void input_handle_character(u_char ch, struct input_ctx *ictx) { log_debug2("-- ch %zu: %hhu (%c)", ictx->off, ch, ch); - + + if (ictx->s->cx > ictx->s->sx - 1 || ictx->s->cy > ictx->s->sy - 1) + return; screen_write_character(ictx->s, ch); input_store8(ictx->b, ch); } |