MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / GetStarterLayout

Function GetStarterLayout

pkg/wcore/layout.go:35–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33}
34
35func GetStarterLayout() PortableLayout {
36 return PortableLayout{
37 {IndexArr: []int{0}, BlockDef: &waveobj.BlockDef{
38 Meta: waveobj.MetaMapType{
39 waveobj.MetaKey_View: "term",
40 waveobj.MetaKey_Controller: "shell",
41 },
42 }, Focused: true},
43 {IndexArr: []int{1}, BlockDef: &waveobj.BlockDef{
44 Meta: waveobj.MetaMapType{
45 waveobj.MetaKey_View: "sysinfo",
46 },
47 }},
48 {IndexArr: []int{1, 1}, BlockDef: &waveobj.BlockDef{
49 Meta: waveobj.MetaMapType{
50 waveobj.MetaKey_View: "web",
51 waveobj.MetaKey_Url: "https://github.com/wavetermdev/waveterm",
52 },
53 }},
54 {IndexArr: []int{1, 2}, BlockDef: &waveobj.BlockDef{
55 Meta: waveobj.MetaMapType{
56 waveobj.MetaKey_View: "preview",
57 waveobj.MetaKey_File: "~",
58 },
59 }},
60 }
61}
62
63func GetNewTabLayout() PortableLayout {
64 return PortableLayout{

Callers 1

BootstrapStarterLayoutFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected