From f062c3ec6b9f164863132376d406890ad556730e Mon Sep 17 00:00:00 2001 From: shaoying Date: Mon, 30 Jul 2018 02:05:50 +0800 Subject: [PATCH] add default web --- src/contexts/nfs/nfs.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/contexts/nfs/nfs.go b/src/contexts/nfs/nfs.go index 5bbb3dcd..6ca55ef4 100644 --- a/src/contexts/nfs/nfs.go +++ b/src/contexts/nfs/nfs.go @@ -591,6 +591,8 @@ func (nfs *NFS) Start(m *ctx.Message, arg ...string) bool { // {{{ nfs.Cap("termbox", "true") nfs.Conf("color", "true") nfs.out = m.Optionv("out").(*os.File) + nfs.history = append(nfs.history, "open 'http://localhost:9094/upload'") + m.Capi("nline", 1) } line := ""