mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-25 16:58:06 +08:00
Merge branch '1.0' of https://github.com/shylinux/context into 1.0
This commit is contained in:
commit
a468b18bb8
@ -3,6 +3,5 @@ source etc/local.shy
|
||||
~file1
|
||||
history load etc/history.txt
|
||||
|
||||
~shell1
|
||||
alias import nfs
|
||||
alias send send
|
||||
|
@ -2454,7 +2454,7 @@ var Index = &Context{Name: "ctx", Help: "模块中心",
|
||||
list := []string{}
|
||||
j := 0
|
||||
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])
|
||||
j++
|
||||
continue
|
||||
|
@ -493,6 +493,7 @@ func (nfs *NFS) Read(p []byte) (n int, err error) { // {{{
|
||||
}
|
||||
|
||||
case termbox.KeyCtrlI:
|
||||
break
|
||||
if len(tab) == 0 {
|
||||
tabi = 0
|
||||
prefix := string(buf)
|
||||
|
Loading…
x
Reference in New Issue
Block a user