MCPcopy Create free account
hub / github.com/NetHack/NetHack / txt_show_cursor

Function txt_show_cursor

sys/msdos/vidtxt.c:434–449  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

432}
433
434void txt_show_cursor(void)
435{
436 union REGS regs;
437
438 regs.x.dx = 0;
439 regs.h.ah = SETCURTYP; /* set cursor type */
440 if (cursor_info) {
441 regs.h.ch = cursor_start_scanline; /* starting scanline */
442 regs.h.cl = cursor_end_scanline; /* ending scanline */
443 } else {
444 regs.h.ch = 6; /* starting scanline */
445 regs.h.cl = 7; /* ending scanline */
446 }
447 regs.x.bx = 0;
448 (void) int86(VIDEO_BIOS, &regs, &regs);
449}
450
451static void
452get_cursinfo(uchar *start, uchar *end, uchar *flg)

Callers 1

term_curs_setFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected