Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dim-an/cod
/ NewUI
Function
NewUI
ui.go:31–37 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
29
}
30
31
func
NewUI() UI {
32
if
terminal.IsTerminal(0) {
33
return
TerminalUI(0)
34
}
else
{
35
return
FileUI(0)
36
}
37
}
38
39
type
FileUI int
40
Callers
2
summarizeLearning
Function · 0.85
apiPostexecMain
Function · 0.85
Calls
2
TerminalUI
TypeAlias · 0.85
FileUI
TypeAlias · 0.85
Tested by
no test coverage detected