[BACK]Return to tty.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/tty.c between version 1.52 and 1.53

version 1.52, 2009/10/20 16:32:23 version 1.53, 2009/10/20 17:33:33
Line 874 
Line 874 
 void  void
 tty_cmd_utf8character(struct tty *tty, const struct tty_ctx *ctx)  tty_cmd_utf8character(struct tty *tty, const struct tty_ctx *ctx)
 {  {
         u_char  *ptr = ctx->ptr;          struct window_pane      *wp = ctx->wp;
         size_t   i;  
   
         for (i = 0; i < UTF8_SIZE; i++) {          /*
                 if (ptr[i] == 0xff)           * Cannot rely on not being a partial character, so just redraw the
                         break;           * whole line.
                 tty_putc(tty, ptr[i]);           */
         }          tty_draw_line(tty, wp->screen, ctx->ocy, wp->xoff, wp->yoff);
 }  }
   
 void  void

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.53