1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-26 09:14:06 +08:00
This commit is contained in:
shaoying 2018-08-03 09:22:59 +08:00
commit a468b18bb8
3 changed files with 2 additions and 2 deletions

View File

@ -3,6 +3,5 @@ source etc/local.shy
~file1 ~file1
history load etc/history.txt history load etc/history.txt
~shell1
alias import nfs alias import nfs
alias send send alias send send

View File

@ -2454,7 +2454,7 @@ var Index = &Context{Name: "ctx", Help: "模块中心",
list := []string{} list := []string{}
j := 0 j := 0
for i := 1; i < len(arg); i++ { for i := 1; i < len(arg); i++ {
if arg[i] == "_" && j < len(args) { if arg[i] == "_" && m.Assert(j < len(args)) {
list = append(list, args[j]) list = append(list, args[j])
j++ j++
continue continue

View File

@ -493,6 +493,7 @@ func (nfs *NFS) Read(p []byte) (n int, err error) { // {{{
} }
case termbox.KeyCtrlI: case termbox.KeyCtrlI:
break
if len(tab) == 0 { if len(tab) == 0 {
tabi = 0 tabi = 0
prefix := string(buf) prefix := string(buf)