]> granicus.if.org Git - procps-ng/commit
top: enable bottom 'window' multi-byte char capability <=== port of newlib 723b418c
authorJim Warner <james.warner@comcast.net>
Wed, 15 Jun 2022 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Sun, 19 Jun 2022 10:58:51 +0000 (20:58 +1000)
commit55453f5af206fa7e28f259b1308457a7438515bb
tree458881d021860b2cffec8df1cad03c008b5a1723
parentb4c17fd544b578d96ba8a397575c4f2e30097b50
top: enable bottom 'window' multi-byte char capability <=== port of newlib 723b418c

______________________________ original newlib message

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