MCPcopy Create free account
hub / github.com/YosysHQ/nextpnr / displayPrompt

Method displayPrompt

3rdparty/python-console/Console.cpp:183–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183void Console::displayPrompt( )
184{
185 QTextCursor cursor = textCursor();
186 cursor.movePosition( QTextCursor::End );
187 if ( m_parseHelper.buffered( ) )
188 {
189 cursor.insertText( Console::MULTILINE_PROMPT );
190 }
191 else
192 {
193 cursor.insertText( Console::PROMPT );
194 }
195 cursor.movePosition( QTextCursor::EndOfLine );
196}
197
198void Console::autocomplete( )
199{

Callers

nothing calls this directly

Calls 1

bufferedMethod · 0.80

Tested by

no test coverage detected