diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-10-12 09:16:59 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-10-12 09:16:59 +0000 |
commit | 972a6f565660a7ca5c0307c1085825a254fba20e (patch) | |
tree | 81634cab7dc23c522397e18ad085332dbe8de22b /tty.c | |
parent | f05b32f7adc7de4dac3afa59ce91986202f17769 (diff) | |
download | rtmux-972a6f565660a7ca5c0307c1085825a254fba20e.tar.gz rtmux-972a6f565660a7ca5c0307c1085825a254fba20e.tar.bz2 rtmux-972a6f565660a7ca5c0307c1085825a254fba20e.zip |
_absolute is redundant, just use tty_region.
Diffstat (limited to 'tty.c')
-rw-r--r-- | tty.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -893,17 +893,19 @@ tty_reset(struct tty *tty) memcpy(gc, &grid_default_cell, sizeof *gc); } +/* Set region inside pane. */ void tty_region_pane( struct tty *tty, const struct tty_ctx *ctx, u_int rupper, u_int rlower) { struct window_pane *wp = ctx->wp; - tty_region_absolute(tty, wp->yoff + rupper, wp->yoff + rlower); + tty_region(tty, wp->yoff + rupper, wp->yoff + rlower); } +/* Set region at absolute position. */ void -tty_region_absolute(struct tty *tty, u_int rupper, u_int rlower) +tty_region(struct tty *tty, u_int rupper, u_int rlower) { if (tty->rlower == rlower && tty->rupper == rupper) return; |