Status line fixes: don't truncate status-right now the length calculation is

done for UTF-8, limit to the maximum length correctly when printing, and always
print a space even if the left string is longer than the width available.
This commit is contained in:
Nicholas Marriott
2009-06-26 15:34:12 +00:00
parent 3fcbe1e27b
commit de2ea2d178
4 changed files with 8 additions and 9 deletions

View File

@ -1,4 +1,4 @@
/* $OpenBSD: client.c,v 1.3 2009/06/25 22:09:20 nicm Exp $ */
/* $Id $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>