mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-26 01:04:06 +08:00
fix nfs.Read Ctrl+H
This commit is contained in:
parent
00c61c544c
commit
4651024817
@ -448,6 +448,9 @@ func (nfs *NFS) Read(p []byte) (n int, err error) {
|
||||
case termbox.KeyCtrlL:
|
||||
nfs.Term(m, "clear", "all").Term(m, "flush")
|
||||
nfs.prompt(what)
|
||||
if len(what) < index {
|
||||
index = 0
|
||||
}
|
||||
nfs.shadow(what[index:], help, color)
|
||||
|
||||
case termbox.KeyCtrlJ, termbox.KeyEnter:
|
||||
|
Loading…
x
Reference in New Issue
Block a user