We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1831890 commit 58a0e92Copy full SHA for 58a0e92
1 file changed
‎simvue/utilities.py‎
@@ -121,11 +121,17 @@ def parse_validation_response(
121
break
122
information.append(input_arg)
123
124
- msg: str = issue["msg"]
+ # Limit message to be 60 characters
125
+ msg: str = issue["msg"][:60]
126
information.append(msg)
127
out.append(information)
128
- _table = tabulate.tabulate(out, headers=headers, tablefmt="fancy_grid")
129
+ _table_fmt: str = "simple"
130
+
131
+ if os.environ.get("SHELL") == "bash":
132
+ _table_fmt = "fancy_grid"
133
134
+ _table = tabulate.tabulate(out, headers=headers, tablefmt=_table_fmt)
135
return str(_table)
136
137
0 commit comments