Skip to content

Instantly share code, notes, and snippets.

@saitoha
Created October 16, 2012 13:34
Show Gist options
  • Select an option

  • Save saitoha/3899327 to your computer and use it in GitHub Desktop.

Select an option

Save saitoha/3899327 to your computer and use it in GitHub Desktop.
Fix the issue of wide base chacter + combined character, tmux
diff --git a/screen-write.c b/screen-write.c
index 66a62b3..09242be 100644
--- a/screen-write.c
+++ b/screen-write.c
@@ -1073,7 +1073,6 @@ screen_write_cell(struct screen_write_ctx *ctx,
screen_write_initctx(ctx, &ttyctx, 0);
tty_write(tty_cmd_utf8character, &ttyctx);
}
- return;
}
/* Initialise the redraw context, saving the last cell. */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment