[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.110 and 1.111

version 1.110, 2011/08/24 09:58:44 version 1.111, 2012/01/15 19:39:42
Line 969 
Line 969 
                          * move as far left as possible and redraw the last                           * move as far left as possible and redraw the last
                          * cell to move into the last position.                           * cell to move into the last position.
                          */                           */
                         cx = screen_size_x(s) - width;                          if (ctx->last_cell.flags & GRID_FLAG_UTF8)
                                   cx = screen_size_x(s) - ctx->last_utf8.width;
                           else
                                   cx = screen_size_x(s) - 1;
                         tty_cursor_pane(tty, ctx, cx, ctx->ocy);                          tty_cursor_pane(tty, ctx, cx, ctx->ocy);
                         tty_cell(tty, &ctx->last_cell, &ctx->last_utf8);                          tty_cell(tty, &ctx->last_cell, &ctx->last_utf8);
                 }                  }

Legend:
Removed from v.1.110  
changed lines
  Added in v.1.111