chg: processlist - handle tabs in args

This commit is contained in:
Raz Crimson 2023-04-19 20:18:31 +05:30
parent 6e77196404
commit 59cb557941

View File

@ -411,6 +411,7 @@ class Plugin(GlancesPlugin):
# Manage end of line in arguments (see #1692)
arguments = arguments.replace('\r\n', ' ')
arguments = arguments.replace('\n', ' ')
arguments = arguments.replace('\t', ' ')
if os.path.isdir(path) and not args.process_short_name:
msg = self.layout_stat['command'].format(path) + os.sep
ret.append(self.curse_add_line(msg, splittable=True))