Method: Curses::Menu#mark
- Defined in:
- ext/curses/curses.c
#mark ⇒ Object
call-seq:
mark
Get the Menu’s mark string
3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 |
# File 'ext/curses/curses.c', line 3662
static VALUE
menu_get_mark(VALUE obj)
{
struct menudata *menup;
const char *mark;
GetMENU(obj, menup);
mark = menu_mark(menup->menu);
return rb_external_str_new_with_enc(mark, strlen(mark), terminal_encoding);
}
|