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

Function settty

sys/amiga/amitty.c:32–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30#ifdef TTY_GRAPHICS
31
32void
33settty(const char *s)
34{
35 end_screen();
36 if (s)
37 raw_print(s);
38 iflags.cbreak = ON; /* this is too easy: probably wrong */
39#if 1 /* should be version>=36 */
40 /* if(IsInteractive(afh_in)){ */
41 SetMode(afh_in, 0); /* con mode */
42/* } */
43#endif
44}
45void
46gettty()
47{

Callers

nothing calls this directly

Calls 1

raw_printFunction · 0.85

Tested by

no test coverage detected