diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-11-27 09:41:03 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-11-27 09:41:03 +0000 |
commit | 2182e1badcc161c6e6f1ef6dec21a57cc510299e (patch) | |
tree | b1614b50954f5c9a59b3f11a22c0bf8fabb7cb3f | |
parent | 106ee8f30a27d60aa4e113e17ba48792cfc64e50 (diff) | |
download | rtmux-2182e1badcc161c6e6f1ef6dec21a57cc510299e.tar.gz rtmux-2182e1badcc161c6e6f1ef6dec21a57cc510299e.tar.bz2 rtmux-2182e1badcc161c6e6f1ef6dec21a57cc510299e.zip |
Add a couple of comments.
-rw-r--r-- | input.c | 1 | ||||
-rw-r--r-- | tty.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -266,6 +266,7 @@ input_parse(struct window_pane *wp) ictx->wp = wp; + /* If there is a mode set, don't want to update the screen. */ if (wp->mode == NULL) screen_write_start(&ictx->ctx, wp, &wp->base); else @@ -529,6 +529,7 @@ tty_write(void (*cmdfn)( struct client *c; u_int i; + /* wp can be NULL if updating the screen but not the terminal. */ if (wp == NULL) return; |