diff --git a/etc/init.shy b/etc/init.shy index 2ba18f86..e7c8df28 100644 --- a/etc/init.shy +++ b/etc/init.shy @@ -7,6 +7,11 @@ role white void web.wiki.word role white void web.wiki.draw +~web.code + binpack insert usr/volcanos/node_modules/xterm/lib/xterm.js + binpack insert usr/volcanos/node_modules/xterm/css/xterm.css + binpack insert usr/volcanos/node_modules/xterm-addon-fit/lib/xterm-addon-fit.js + ~web.code config inner meta.show.tabs "" config inner meta.show.exts "inner/search.js?a=1" diff --git a/src/main.go b/src/main.go index 5f8dca65..78e8c11c 100644 --- a/src/main.go +++ b/src/main.go @@ -42,4 +42,4 @@ import ( _ "shylinux.com/x/contexts/src/hi" ) -func main() { print(ice.Run()) } \ No newline at end of file +func main() { print(ice.Run()) } diff --git a/src/main.shy b/src/main.shy index f69cf26c..3d9a370c 100644 --- a/src/main.shy +++ b/src/main.shy @@ -38,3 +38,4 @@ field "架构图" web.code.git.spide args `intshell` spark md README.md source "../usr/icebergs/core/chat/location.shy" +source "../usr/icebergs/core/code/xterm.shy"