diff options
author | Thomas Adam <thomas.adam@smoothwall.net> | 2013-01-30 15:27:19 +0000 |
---|---|---|
committer | Thomas Adam <thomas.adam@smoothwall.net> | 2013-01-30 15:27:19 +0000 |
commit | a3f4eb7b24ee98b4a499ca52c29ec2e29f33aa76 (patch) | |
tree | fc72465468b26b578f9546eede2a3f7334442928 /input.c | |
parent | 2ca8b7f3593ec5a88c9f56a43f5076800957a0db (diff) | |
parent | fdbfc7e3498e1cdd04e8df58aa1a937ee4d79caa (diff) | |
download | rtmux-a3f4eb7b24ee98b4a499ca52c29ec2e29f33aa76.tar.gz rtmux-a3f4eb7b24ee98b4a499ca52c29ec2e29f33aa76.tar.bz2 rtmux-a3f4eb7b24ee98b4a499ca52c29ec2e29f33aa76.zip |
Merge branch 'obsd-master'
Conflicts:
Makefile
grid-utf8.c
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -879,8 +879,8 @@ input_clear(struct input_ctx *ictx) int input_print(struct input_ctx *ictx) { - ictx->cell.data = ictx->ch; - screen_write_cell(&ictx->ctx, &ictx->cell, NULL); + grid_cell_one(&ictx->cell, ictx->ch); + screen_write_cell(&ictx->ctx, &ictx->cell); return (0); } @@ -1657,9 +1657,8 @@ input_utf8_close(struct input_ctx *ictx) utf8_append(&ictx->utf8data, ictx->ch); - ictx->cell.flags |= GRID_FLAG_UTF8; - screen_write_cell(&ictx->ctx, &ictx->cell, &ictx->utf8data); - ictx->cell.flags &= ~GRID_FLAG_UTF8; + grid_cell_set(&ictx->cell, &ictx->utf8data); + screen_write_cell(&ictx->ctx, &ictx->cell); return (0); } |