如何在终端的ruby应用程序中做文本框? [英] How to do a textbox in terminal ruby applications?
本文介绍了如何在终端的ruby应用程序中做文本框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在终端ruby应用程序中做文本框?如果你使用的是Ruby 1.9.x,你可以使用纯ruby来完成。
可以查看 rbcurse ,
基于ruby的curses部件:字段,按钮,textarea。菜单,消息框,选项卡式窗格,表格,列表框,分隔窗格,滚动窗格。基于事件的MVC体系结构。
开发人员最近将功能分为
How to do a textbox in terminal ruby applications? Is there a gem for this or it can be done using pure ruby.
解决方案
If you are on Ruby 1.9.x, you can take a look at rbcurse, a
ruby based curses widgets: fields, buttons, textarea. menus, message boxes, tabbed panes, tables, listboxes, splitpanes, scrollpanes. Event based, MVC architecture.
The developer recently split the functionality up into
- https://github.com/rkumar/rbcurse-core
- https://github.com/rkumar/rbcurse-extras
- https://github.com/rkumar/rbcurse-experimental
这篇关于如何在终端的ruby应用程序中做文本框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文