mirror of https://github.com/chzyer/readline.git
fixes readme & example
This commit is contained in:
parent
bb60b8a58f
commit
f517af0910
|
@ -19,7 +19,6 @@ You can read the source code in [example/main.go](https://github.com/chzyer/read
|
|||
|
||||
# Todo
|
||||
|
||||
* Add support for windows
|
||||
* Vim mode
|
||||
* More funny examples
|
||||
|
||||
|
@ -203,6 +202,7 @@ Users can change that in terminal simulator(i.e. iTerm2) to `Alt`+`B`
|
|||
| Mac OS X iTerm2 Tmux | screen |
|
||||
| Ubuntu Server 14.04 LTS | linux |
|
||||
| Centos 7 | linux |
|
||||
| Windows 10 | - |
|
||||
|
||||
### Notice:
|
||||
* `Ctrl`+`A` is not working in screen because it used as a control command by default
|
||||
|
|
|
@ -7,8 +7,6 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"gopkg.in/logex.v1"
|
||||
|
||||
"github.com/chzyer/readline"
|
||||
)
|
||||
|
||||
|
@ -41,7 +39,6 @@ func main() {
|
|||
HistoryFile: "/tmp/readline.tmp",
|
||||
AutoComplete: completer,
|
||||
})
|
||||
logex.SetStd(logex.NewLoggerEx(l.Stderr()))
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue