<p>I know how to write programs that have a simple loop/scan UI (like the terminal), but how do you make one that has a vim-like interface (i.e. a permanent horizontal bar at the bottom, and the ability to move the cursor around, and replace characters)?</p>
<hr/>**评论:**<br/><br/>shovelpost: <pre><p>This might help: <a href="https://github.com/driusan/de" rel="nofollow">https://github.com/driusan/de</a></p></pre>TheSonOfMyWife: <pre><p>Thank you!</p></pre>stephens2424: <pre><p>Take a look at ncurses or terminal libraries like <a href="https://github.com/nsf/termbox-go" rel="nofollow">https://github.com/nsf/termbox-go</a></p></pre>TheSonOfMyWife: <pre><p>Fantastic, thank you!</p></pre>
![](https://static.golangjob.cn/static/img/banner.png)