Menus in termui

polaris · · 562 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>I&#39;ve started using termui for a project and it is really great. I created a menu and applied some event handlers to it (e.g /sys/kbd/&lt;left&gt;). I wanted to have the users be able to navigate about the menu but so far I&#39;m hitting a dead end. Any help is appreciated! :)</p> <p>Preview Menu: <a href="http://prntscr.com/a9rllj" rel="nofollow">http://prntscr.com/a9rllj</a></p> <p>Thank you ;)</p> <hr/>**评论:**<br/><br/>julesmike: <pre><p>So far, I&#39;m inspiring myself off <a href="https://github.com/gizak/termui/blob/master/_extra/tabpane.go" rel="nofollow">https://github.com/gizak/termui/blob/master/_extra/tabpane.go</a></p> <p>If that helps anyone, great!</p></pre>izuriel: <pre><p>I don&#39;t really understand what your asking. Your hitting a dead end, but your screenshot looks to be of a working goal. You applied events to it. Did that work? Did it not work? Where is your code? What did you write? Can we test that ourselves to help you with your problem?</p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

562 次点击  
加入收藏 微博
0 回复
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传