Closed hachi8833 closed 7 years ago
@hachi8833 I have no idea how to implement this, if you know you can give it a try 😅
Memo: looks like the simple https://github.com/bobappleyard/readline would help us. This depends on external readline lib, which is also used in Ruby.
Also found https://github.com/chzyer/readline (pure readline written in Go) but looks a little bit overkill.
I found that https://github.com/bobappleyard/readline uses cgo and looks not good for Goby. (I think one of the advantage is C-lang dependent)
This has been implemented by @hachi8833
Extracted from #177.
Command history with up arrow key is not working for now: