Clear using ED when redrawing the screen. I foolishly assumed using spaces

would be equivalent and terminals would pick up on this, but apparently
not. This fixes copy and paste in xterm/rxvt.
This commit is contained in:
Nicholas Marriott
2009-03-28 10:15:01 +00:00
parent a7f57773b7
commit 587badecdb
4 changed files with 42 additions and 37 deletions

3
tmux.h
View File

@ -1,4 +1,4 @@
/* $Id: tmux.h,v 1.284 2009-03-27 17:04:04 nicm Exp $ */
/* $Id: tmux.h,v 1.285 2009-03-28 10:15:01 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -1065,6 +1065,7 @@ void tty_start_tty(struct tty *);
void tty_stop_tty(struct tty *);
void tty_set_title(struct tty *, const char *);
void tty_update_mode(struct tty *, int);
void tty_draw_line(struct tty *, struct screen *, u_int, u_int);
int tty_open(struct tty *, char **);
void tty_close(struct tty *, int);
void tty_free(struct tty *, int);