#816 - remove extra text from buffer output

This commit is contained in:
Dave Lassalle
2024-10-07 12:39:03 -05:00
parent 0dd082b7fd
commit 95f56ad122
2 changed files with 5 additions and 5 deletions
@@ -895,7 +895,11 @@ class Consoles(interfaces.plugins.PluginInterface):
if console_property["address"] is None
else format_hints.Hex(console_property["address"])
),
str(console_property["data"]),
(
str(console_property["data"])
if console_property["data"]
else renderers.NotAvailableValue()
),
),
)
else:
@@ -192,10 +192,6 @@ class SCREEN_INFORMATION(objects.StructType):
if truncate_rows:
rows = self._truncate_rows(rows)
if rows:
rows = ["=== START OF BUFFER ==="] + rows + ["=== END OF BUFFER ==="]
else:
rows = ["=== NO BUFFER DATA FOUND ==="]
return rows