How do I use (n)curses in Ruby?

前端 未结 4 1670
孤街浪徒
孤街浪徒 2020-12-13 03:50

I\'d like to create a progress bar to indicate the status of an a batch job in Ruby.

I\'ve read some tutorials / libraries on using (n)curses,

4条回答
  •  无人及你
    2020-12-13 04:35

    Personally I think curses is overkill in this case. While the curses lib is nice (and I frequently use it myself) it's a PITA to relearn every time I haven't needed it for 12 months which has to be the sign of a bad interface design.

    If for some reason you can't get on with the progress bar lib Joey suggested roll your own and release it under a pretty free licence for instant kudos :)

提交回复
热议问题