mirror of
https://github.com/tmate-io/tmate.git
synced 2025-01-11 16:38:47 +01:00
Sync OpenBSD patchset 574:
Add a couple of comments.
This commit is contained in:
parent
dc57c5bb50
commit
b42f231027
3
input.c
3
input.c
@ -1,4 +1,4 @@
|
|||||||
/* $Id: input.c,v 1.102 2009-11-08 23:02:56 tcunha Exp $ */
|
/* $Id: input.c,v 1.103 2009-11-28 14:59:26 tcunha Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||||
@ -266,6 +266,7 @@ input_parse(struct window_pane *wp)
|
|||||||
|
|
||||||
ictx->wp = wp;
|
ictx->wp = wp;
|
||||||
|
|
||||||
|
/* If there is a mode set, don't want to update the screen. */
|
||||||
if (wp->mode == NULL)
|
if (wp->mode == NULL)
|
||||||
screen_write_start(&ictx->ctx, wp, &wp->base);
|
screen_write_start(&ictx->ctx, wp, &wp->base);
|
||||||
else
|
else
|
||||||
|
3
tty.c
3
tty.c
@ -1,4 +1,4 @@
|
|||||||
/* $Id: tty.c,v 1.178 2009-11-28 14:56:11 tcunha Exp $ */
|
/* $Id: tty.c,v 1.179 2009-11-28 14:59:26 tcunha Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||||
@ -534,6 +534,7 @@ tty_write(void (*cmdfn)(
|
|||||||
struct client *c;
|
struct client *c;
|
||||||
u_int i;
|
u_int i;
|
||||||
|
|
||||||
|
/* wp can be NULL if updating the screen but not the terminal. */
|
||||||
if (wp == NULL)
|
if (wp == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user