mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Use a u_char so top-bit-set update the cursor as well.
This commit is contained in:
		
							
								
								
									
										4
									
								
								tmux.h
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								tmux.h
									
									
									
									
									
								
							@@ -1,4 +1,4 @@
 | 
			
		||||
/* $Id: tmux.h,v 1.303 2009-04-27 17:27:36 nicm Exp $ */
 | 
			
		||||
/* $Id: tmux.h,v 1.304 2009-04-29 17:50:52 nicm Exp $ */
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
			
		||||
@@ -1090,7 +1090,7 @@ void		 tty_putcode(struct tty *, enum tty_code_code);
 | 
			
		||||
void		 tty_putcode1(struct tty *, enum tty_code_code, int);
 | 
			
		||||
void		 tty_putcode2(struct tty *, enum tty_code_code, int, int);
 | 
			
		||||
void		 tty_puts(struct tty *, const char *);
 | 
			
		||||
void		 tty_putc(struct tty *, char);
 | 
			
		||||
void		 tty_putc(struct tty *, u_char);
 | 
			
		||||
void		 tty_init(struct tty *, char *, char *);
 | 
			
		||||
void		 tty_start_tty(struct tty *);
 | 
			
		||||
void		 tty_stop_tty(struct tty *);
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										4
									
								
								tty.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								tty.c
									
									
									
									
									
								
							@@ -1,4 +1,4 @@
 | 
			
		||||
/* $Id: tty.c,v 1.93 2009-04-29 17:06:45 nicm Exp $ */
 | 
			
		||||
/* $Id: tty.c,v 1.94 2009-04-29 17:50:52 nicm Exp $ */
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
			
		||||
@@ -306,7 +306,7 @@ tty_puts(struct tty *tty, const char *s)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void
 | 
			
		||||
tty_putc(struct tty *tty, char ch)
 | 
			
		||||
tty_putc(struct tty *tty, u_char ch)
 | 
			
		||||
{
 | 
			
		||||
	u_int	sx;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user