MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / Prompt

Method Prompt

external/zep/src/mode_repl.cpp:107–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105 }
106
107 void ZepReplExCommand::Prompt() {
108 // TODO: Repl broken, but when not, need to consider undo
109 ChangeRecord changeRecord;
110 m_pReplBuffer->Insert(m_pReplBuffer->End(), PromptString, changeRecord);
111 MoveToEnd();
112 }
113
114 void ZepReplExCommand::MoveToEnd() {
115 m_pReplWindow->SetBufferCursor(m_pReplBuffer->End());

Callers

nothing calls this directly

Calls 2

EndMethod · 0.80
InsertMethod · 0.45

Tested by

no test coverage detected