Menu dividers in ncurses
问题 I'd like to build a menu in ncurses that has section dividers. My example list looks like this: Aardvark Apple Bee Cat Kitten Kalashnikov Waffle What I want is non-selectable dividers. Something like this: (A) ---- Aardvark Apple (B) ---- Bee (C) ---- Cat (K) ---- Kitten Kalashnikov (W) ---- Waffle Is there a built-in way to do this? More specifically, I'm using this ruby gem: https://github.com/eclubb/ncurses-ruby I'd prefer an answer that was generic, but if it can be solved with Ruby