Revision 47b05369

b/qemu-options.hx
634 634
with a serial console.
635 635
ETEXI
636 636

  
637
#ifdef CONFIG_CURSES
638 637
DEF("curses", 0, QEMU_OPTION_curses,
639 638
    "-curses         use a curses/ncurses interface instead of SDL\n",
640 639
    QEMU_ARCH_ALL)
641
#endif
642 640
STEXI
643 641
@item -curses
644 642
@findex curses
b/vl.c
2247 2247
            case QEMU_OPTION_nographic:
2248 2248
                display_type = DT_NOGRAPHIC;
2249 2249
                break;
2250
#ifdef CONFIG_CURSES
2251 2250
            case QEMU_OPTION_curses:
2251
#ifdef CONFIG_CURSES
2252 2252
                display_type = DT_CURSES;
2253
                break;
2253
#else
2254
                fprintf(stderr, "Curses support is disabled\n");
2255
                exit(1);
2254 2256
#endif
2257
                break;
2255 2258
            case QEMU_OPTION_portrait:
2256 2259
                graphic_rotate = 1;
2257 2260
                break;

Also available in: Unified diff