MCPcopy
hub / github.com/micro-editor/micro / TempStart

Function TempStart

internal/screen/screen.go:171–180  ·  view source on GitHub ↗

TempStart restarts the screen after it was temporarily disabled

(screenWasNil bool)

Source from the content-addressed store, hash-verified

169
170// TempStart restarts the screen after it was temporarily disabled
171func TempStart(screenWasNil bool) {
172 if !screenWasNil {
173 Init()
174 Unlock()
175
176 if RestartCallback != nil {
177 RestartCallback()
178 }
179 }
180}
181
182// Init creates and initializes the tcell screen
183func Init() error {

Callers 6

RunInteractiveShellFunction · 0.92
SuspendMethod · 0.92
openFileFunction · 0.92
CloseMethod · 0.92
TermMessageFunction · 0.85
TermPromptFunction · 0.85

Calls 2

InitFunction · 0.85
UnlockFunction · 0.85

Tested by

no test coverage detected