From 4cdc228353246ef8e05f89e44e5e7968807ff19d Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sun, 18 Jan 2009 21:46:30 +0000 Subject: Unbreak UTF-8. --- input.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'input.c') diff --git a/input.c b/input.c index c073b6e2..bc889a10 100644 --- a/input.c +++ b/input.c @@ -1,4 +1,4 @@ -/* $Id: input.c,v 1.73 2009-01-11 23:31:46 nicm Exp $ */ +/* $Id: input.c,v 1.74 2009-01-18 21:46:30 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -542,7 +542,9 @@ input_state_utf8(u_char ch, struct input_ctx *ictx) value = '_'; ictx->cell.data = value; + ictx->cell.flags |= GRID_FLAG_UTF8; screen_write_cell(&ictx->ctx, &ictx->cell); + ictx->cell.flags &= ~GRID_FLAG_UTF8; } void -- cgit v1.2.3