-/* $Id: term.c,v 1.279 2019/01/04 03:21:02 schwarze Exp $ */
+/* $Id: term.c,v 1.280 2019/01/15 12:16:18 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2019 Ingo Schwarze <schwarze@openbsd.org>
continue;
case ' ':
case ASCII_NBRSP:
- vbl++;
- vis++;
+ dv = (*p->width)(p, ' ');
+ vbl += dv;
+ vis += dv;
continue;
default:
break;