MCPcopy Index your code
hub / github.com/dbcli/pgcli / get_terminator

Method get_terminator

pgcli/pyev.py:205–215  ·  view source on GitHub ↗
(self, index, plan)

Source from the content-addressed store, hash-verified

203 return " ".join(tags)
204
205 def get_terminator(self, index, plan):
206 if index == 0:
207 if len(plan.get("Plans", [])) == 0:
208 return "⌡► "
209 else:
210 return "├► "
211 else:
212 if len(plan.get("Plans", [])) == 0:
213 return " "
214 else:
215 return "│ "
216
217 def wrap_string(self, line, width):
218 if width == 0:

Callers 1

create_linesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected