MCPcopy
hub / github.com/RUB-NDS/PRET / set_prompt

Method set_prompt

printer.py:374–377  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

372
373 # set command prompt
374 def set_prompt(self):
375 target = self.target + ":" if self.conn else ""
376 cwd = self.cwd if self.conn else ""
377 self.prompt = target + c.SEP + cwd + "> "
378
379 # get separator
380 def get_sep(self, path):

Callers 3

set_defaultsMethod · 0.95
do_closeMethod · 0.95
set_cwdMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected