MCPcopy Index your code
hub / github.com/abiosoft/ishell / ShowPrompt

Method ShowPrompt

actions.go:161–164  ·  view source on GitHub ↗
(show bool)

Source from the content-addressed store, hash-verified

159}
160
161func (s *shellActionsImpl) ShowPrompt(show bool) {
162 s.reader.showPrompt = show
163 s.reader.scanner.SetPrompt(s.reader.rlPrompt())
164}
165
166func (s *shellActionsImpl) Cmds() []*Cmd {
167 var cmds []*Cmd

Callers

nothing calls this directly

Calls 2

rlPromptMethod · 0.80
SetPromptMethod · 0.65

Tested by

no test coverage detected