开发者

Multi-line menu item descriptions in curses

I've 开发者_StackOverflow中文版got a menu in curses that I'd like to put multi-line descriptions onto.

My code puts the description fields on but they don't display if they don't fit on the line.

Curses is happy enough printing multi-line text as strings (not as menu descriptions)

Any ideas how to get multi-line descriptions working ?


I've given up on this and render my own scrollable list of items instead.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜