top: enable bottom 'window' multi-byte char capability
authorJim Warner <james.warner@comcast.net>
Wed, 25 May 2022 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Thu, 26 May 2022 07:36:29 +0000 (17:36 +1000)
commit723b418cd4b19bcb73e6c9449a30067e40c85a16
tree6f23e10f04c834e0b800a09ddce916a060508b45
parentef1d82cf1814c11e05da998bcef2834e23609c1f
top: enable bottom 'window' multi-byte char capability

If the special bottom 'window' routines remain unaware
of potential multi-byte characters, that heading could
be truncated prematurely and unnecessary blank line(s)
added to the reserved rows at the bottom of a display.

So, in both cases, this patch will now account for any
difference between string lengths and display columns.

Signed-off-by: Jim Warner <james.warner@comcast.net>
top/top.c