fixes readme & example

This commit is contained in:
Cheney 2015-09-29 23:35:11 +08:00
parent bb60b8a58f
commit f517af0910
2 changed files with 1 additions and 4 deletions

View File

@ -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

View File

@ -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)
}