mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-10-02 21:12:07 +00:00
Add backticks to copied error message
This commit is contained in:
@@ -56,11 +56,13 @@ class CopyDebugInformation(bpy.types.Operator):
|
|||||||
|
|
||||||
text = format_debug_info(info)
|
text = format_debug_info(info)
|
||||||
|
|
||||||
|
text_with_backticks = f"```\n{text}\n```"
|
||||||
|
|
||||||
print("-" * 80)
|
print("-" * 80)
|
||||||
print(text)
|
print(text_with_backticks)
|
||||||
print("-" * 80)
|
print("-" * 80)
|
||||||
|
|
||||||
context.window_manager.clipboard = text
|
context.window_manager.clipboard = text_with_backticks
|
||||||
return {"FINISHED"}
|
return {"FINISHED"}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user