{
    "content": [
        {
            "type": "text",
            "text": "# curses (pydoc)\n\n**Summary:** curses - curses\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **MODULE REFERENCE** (8 lines)\n- **DESCRIPTION** (8 lines)\n- **PACKAGE CONTENTS** (5 lines)\n- **FUNCTIONS** (1 lines) — 80 subsections\n  - baudrate (2 lines)\n  - beep (2 lines)\n  - can_change_color (2 lines)\n  - cbreak (11 lines)\n  - color_content (8 lines)\n  - color_pair (8 lines)\n  - curs_set (10 lines)\n  - def_prog_mode (6 lines)\n  - def_shell_mode (6 lines)\n  - delay_output (5 lines)\n  - doupdate (2 lines)\n  - echo (7 lines)\n  - endwin (2 lines)\n  - erasechar (2 lines)\n  - filter (1 lines)\n  - flash (4 lines)\n  - flushinp (5 lines)\n  - get_escdelay (6 lines)\n  - get_tabsize (5 lines)\n  - getmouse (5 lines)\n  - getsyx (4 lines)\n  - getwin (5 lines)\n  - halfdelay (7 lines)\n  - has_colors (2 lines)\n  - has_extended_color_support (5 lines)\n  - has_ic (2 lines)\n  - has_il (2 lines)\n  - has_key (5 lines)\n  - init_color (15 lines)\n  - init_pair (12 lines)\n  - initscr (1 lines)\n  - intrflush (1 lines)\n  - is_term_resized (7 lines)\n  - isendwin (2 lines)\n  - keyname (5 lines)\n  - killchar (2 lines)\n  - longname (5 lines)\n  - meta (5 lines)\n  - mouseinterval (9 lines)\n  - mousemask (7 lines)\n  - napms (5 lines)\n  - newpad (7 lines)\n  - newwin (15 lines)\n  - nl (8 lines)\n  - nocbreak (4 lines)\n  - noecho (4 lines)\n  - nonl (5 lines)\n  - noqiflush (5 lines)\n  - noraw (4 lines)\n  - pair_content (5 lines)\n  - pair_number (4 lines)\n  - putp (4 lines)\n  - qiflush (8 lines)\n  - raw (9 lines)\n  - reset_prog_mode (2 lines)\n  - reset_shell_mode (2 lines)\n  - resetty (2 lines)\n  - resize_term (13 lines)\n  - resizeterm (10 lines)\n  - savetty (2 lines)\n  - set_escdelay (9 lines)\n  - set_tabsize (8 lines)\n  - setsyx (9 lines)\n  - setupterm (9 lines)\n  - start_color (1 lines)\n  - termattrs (2 lines)\n  - termname (2 lines)\n  - tigetflag (8 lines)\n  - tigetnum (8 lines)\n  - tigetstr (8 lines)\n  - tparm (5 lines)\n  - typeahead (7 lines)\n  - unctrl (5 lines)\n  - unget_wch (2 lines)\n  - ungetch (2 lines)\n  - ungetmouse (4 lines)\n  - update_lines_cols (1 lines)\n  - use_default_colors (5 lines)\n  - use_env (11 lines)\n  - wrapper (6 lines)\n- **DATA** (219 lines)\n- **FILE** (3 lines)\n\n## Full Content\n\n### NAME\n\ncurses - curses\n\n### MODULE REFERENCE\n\nhttps://docs.python.org/3.10/library/curses.html\n\nThe following documentation is automatically generated from the Python\nsource files.  It may be incomplete, incorrect or include features that\nare considered implementation detail and may vary between Python\nimplementations.  When in doubt, consult the module reference at the\nlocation listed above.\n\n### DESCRIPTION\n\nThe main package for curses support for Python.  Normally used by importing\nthe package, and perhaps a particular module inside it.\n\nimport curses\nfrom curses import textpad\ncurses.initscr()\n...\n\n### PACKAGE CONTENTS\n\nascii\nhaskey\npanel\ntextpad\n\n### FUNCTIONS\n\n#### baudrate\n\nReturn the output speed of the terminal in bits per second.\n\n#### beep\n\nEmit a short attention sound.\n\n#### can_change_color\n\nReturn True if the programmer can change the colors displayed by the terminal.\n\n#### cbreak\n\nEnter cbreak mode.\n\nflag\nIf false, the effect is the same as calling nocbreak().\n\nIn cbreak mode (sometimes called \"rare\" mode) normal tty line buffering is\nturned off and characters are available to be read one by one.  However,\nunlike raw mode, special characters (interrupt, quit, suspend, and flow\ncontrol) retain their effects on the tty driver and calling program.\nCalling first raw() then cbreak() leaves the terminal in cbreak mode.\n\n#### color_content\n\nReturn the red, green, and blue (RGB) components of the specified color.\n\ncolornumber\nThe number of the color (0 - (COLORS-1)).\n\nA 3-tuple is returned, containing the R, G, B values for the given color,\nwhich will be between 0 (no component) and 1000 (maximum amount of component).\n\n#### color_pair\n\nReturn the attribute value for displaying text in the specified color.\n\npairnumber\nThe number of the color pair.\n\nThis attribute value can be combined with ASTANDOUT, AREVERSE, and the\nother A* attributes.  pairnumber() is the counterpart to this function.\n\n#### curs_set\n\nSet the cursor state.\n\nvisibility\n0 for invisible, 1 for normal visible, or 2 for very visible.\n\nIf the terminal supports the visibility requested, the previous cursor\nstate is returned; otherwise, an exception is raised.  On many terminals,\nthe \"visible\" mode is an underline cursor and the \"very visible\" mode is\na block cursor.\n\n#### def_prog_mode\n\nSave the current terminal mode as the \"program\" mode.\n\nThe \"program\" mode is the mode when the running program is using curses.\n\nSubsequent calls to resetprogmode() will restore this mode.\n\n#### def_shell_mode\n\nSave the current terminal mode as the \"shell\" mode.\n\nThe \"shell\" mode is the mode when the running program is not using curses.\n\nSubsequent calls to resetshellmode() will restore this mode.\n\n#### delay_output\n\nInsert a pause in output.\n\nms\nDuration in milliseconds.\n\n#### doupdate\n\nUpdate the physical screen to match the virtual screen.\n\n#### echo\n\nEnter echo mode.\n\nflag\nIf false, the effect is the same as calling noecho().\n\nIn echo mode, each character input is echoed to the screen as it is entered.\n\n#### endwin\n\nDe-initialize the library, and return terminal to normal status.\n\n#### erasechar\n\nReturn the user's current erase character.\n\n#### filter\n\n#### flash\n\nFlash the screen.\n\nThat is, change it to reverse-video and then change it back in a short interval.\n\n#### flushinp\n\nFlush all input buffers.\n\nThis throws away any typeahead that has been typed by the user and has not\nyet been processed by the program.\n\n#### get_escdelay\n\nGets the curses ESCDELAY setting.\n\nGets the number of milliseconds to wait after reading an escape character,\nto distinguish between an individual escape character entered on the\nkeyboard from escape sequences sent by cursor and function keys.\n\n#### get_tabsize\n\nGets the curses TABSIZE setting.\n\nGets the number of columns used by the curses library when converting a tab\ncharacter to spaces as it adds the tab to a window.\n\n#### getmouse\n\nRetrieve the queued mouse event.\n\nAfter getch() returns KEYMOUSE to signal a mouse event, this function\nreturns a 5-tuple (id, x, y, z, bstate).\n\n#### getsyx\n\nReturn the current coordinates of the virtual screen cursor.\n\nReturn a (y, x) tuple.  If leaveok is currently true, return (-1, -1).\n\n#### getwin\n\nRead window related data stored in the file by an earlier putwin() call.\n\nThe routine then creates and initializes a new window using that data,\nreturning the new window object.\n\n#### halfdelay\n\nEnter half-delay mode.\n\ntenths\nMaximal blocking delay in tenths of seconds (1 - 255).\n\nUse nocbreak() to leave half-delay mode.\n\n#### has_colors\n\nReturn True if the terminal can display colors; otherwise, return False.\n\n#### has_extended_color_support\n\nReturn True if the module supports extended colors; otherwise, return False.\n\nExtended color support allows more than 256 color-pairs for terminals\nthat support more than 16 colors (e.g. xterm-256color).\n\n#### has_ic\n\nReturn True if the terminal has insert- and delete-character capabilities.\n\n#### has_il\n\nReturn True if the terminal has insert- and delete-line capabilities.\n\n#### has_key\n\nReturn True if the current terminal type recognizes a key with that value.\n\nkey\nKey number.\n\n#### init_color\n\nChange the definition of a color.\n\ncolornumber\nThe number of the color to be changed (0 - (COLORS-1)).\nr\nRed component (0 - 1000).\ng\nGreen component (0 - 1000).\nb\nBlue component (0 - 1000).\n\nWhen initcolor() is used, all occurrences of that color on the screen\nimmediately change to the new definition.  This function is a no-op on\nmost terminals; it is active only if canchangecolor() returns true.\n\n#### init_pair\n\nChange the definition of a color-pair.\n\npairnumber\nThe number of the color-pair to be changed (1 - (COLORPAIRS-1)).\nfg\nForeground color number (-1 - (COLORS-1)).\nbg\nBackground color number (-1 - (COLORS-1)).\n\nIf the color-pair was previously initialized, the screen is refreshed and\nall occurrences of that color-pair are changed to the new definition.\n\n#### initscr\n\n#### intrflush\n\n#### is_term_resized\n\nReturn True if resizeterm() would modify the window structure, False otherwise.\n\nnlines\nHeight.\nncols\nWidth.\n\n#### isendwin\n\nReturn True if endwin() has been called.\n\n#### keyname\n\nReturn the name of specified key.\n\nkey\nKey number.\n\n#### killchar\n\nReturn the user's current line kill character.\n\n#### longname\n\nReturn the terminfo long name field describing the current terminal.\n\nThe maximum length of a verbose description is 128 characters.  It is defined\nonly after the call to initscr().\n\n#### meta\n\nEnable/disable meta keys.\n\nIf yes is True, allow 8-bit characters to be input.  If yes is False,\nallow only 7-bit characters.\n\n#### mouseinterval\n\nSet and retrieve the maximum time between press and release in a click.\n\ninterval\nTime in milliseconds.\n\nSet the maximum time that can elapse between press and release events in\norder for them to be recognized as a click, and return the previous interval\nvalue.\n\n#### mousemask\n\nSet the mouse events to be reported, and return a tuple (availmask, oldmask).\n\nReturn a tuple (availmask, oldmask).  availmask indicates which of the\nspecified mouse events can be reported; on complete failure it returns 0.\noldmask is the previous value of the given window's mouse event mask.\nIf this function is never called, no mouse events are ever reported.\n\n#### napms\n\nSleep for specified time.\n\nms\nDuration in milliseconds.\n\n#### newpad\n\nCreate and return a pointer to a new pad data structure.\n\nnlines\nHeight.\nncols\nWidth.\n\n#### newwin\n\nnewwin(nlines, ncols, [beginy=0, beginx=0])\nReturn a new window.\n\nnlines\nHeight.\nncols\nWidth.\nbeginy\nTop side y-coordinate.\nbeginx\nLeft side x-coordinate.\n\nBy default, the window will extend from the specified position to the lower\nright corner of the screen.\n\n#### nl\n\nEnter newline mode.\n\nflag\nIf false, the effect is the same as calling nonl().\n\nThis mode translates the return key into newline on input, and translates\nnewline into return and line-feed on output.  Newline mode is initially on.\n\n#### nocbreak\n\nLeave cbreak mode.\n\nReturn to normal \"cooked\" mode with line buffering.\n\n#### noecho\n\nLeave echo mode.\n\nEchoing of input characters is turned off.\n\n#### nonl\n\nLeave newline mode.\n\nDisable translation of return into newline on input, and disable low-level\ntranslation of newline into newline/return on output.\n\n#### noqiflush\n\nDisable queue flushing.\n\nWhen queue flushing is disabled, normal flush of input and output queues\nassociated with the INTR, QUIT and SUSP characters will not be done.\n\n#### noraw\n\nLeave raw mode.\n\nReturn to normal \"cooked\" mode with line buffering.\n\n#### pair_content\n\nReturn a tuple (fg, bg) containing the colors for the requested color pair.\n\npairnumber\nThe number of the color pair (0 - (COLORPAIRS-1)).\n\n#### pair_number\n\nReturn the number of the color-pair set by the specified attribute value.\n\ncolorpair() is the counterpart to this function.\n\n#### putp\n\nEmit the value of a specified terminfo capability for the current terminal.\n\nNote that the output of putp() always goes to standard output.\n\n#### qiflush\n\nEnable queue flushing.\n\nflag\nIf false, the effect is the same as calling noqiflush().\n\nIf queue flushing is enabled, all output in the display driver queue\nwill be flushed when the INTR, QUIT and SUSP characters are read.\n\n#### raw\n\nEnter raw mode.\n\nflag\nIf false, the effect is the same as calling noraw().\n\nIn raw mode, normal line buffering and processing of interrupt, quit,\nsuspend, and flow control keys are turned off; characters are presented to\ncurses input functions one by one.\n\n#### reset_prog_mode\n\nRestore the terminal to \"program\" mode, as previously saved by defprogmode().\n\n#### reset_shell_mode\n\nRestore the terminal to \"shell\" mode, as previously saved by defshellmode().\n\n#### resetty\n\nRestore terminal mode.\n\n#### resize_term\n\nBackend function used by resizeterm(), performing most of the work.\n\nnlines\nHeight.\nncols\nWidth.\n\nWhen resizing the windows, resizeterm() blank-fills the areas that are\nextended.  The calling application should fill in these areas with appropriate\ndata.  The resizeterm() function attempts to resize all windows.  However,\ndue to the calling convention of pads, it is not possible to resize these\nwithout additional interaction with the application.\n\n#### resizeterm\n\nResize the standard and current windows to the specified dimensions.\n\nnlines\nHeight.\nncols\nWidth.\n\nAdjusts other bookkeeping data used by the curses library that record the\nwindow dimensions (in particular the SIGWINCH handler).\n\n#### savetty\n\nSave terminal mode.\n\n#### set_escdelay\n\nSets the curses ESCDELAY setting.\n\nms\nlength of the delay in milliseconds.\n\nSets the number of milliseconds to wait after reading an escape character,\nto distinguish between an individual escape character entered on the\nkeyboard from escape sequences sent by cursor and function keys.\n\n#### set_tabsize\n\nSets the curses TABSIZE setting.\n\nsize\nrendered cell width of a tab character.\n\nSets the number of columns used by the curses library when converting a tab\ncharacter to spaces as it adds the tab to a window.\n\n#### setsyx\n\nSet the virtual screen cursor.\n\ny\nY-coordinate.\nx\nX-coordinate.\n\nIf y and x are both -1, then leaveok is set.\n\n#### setupterm\n\nInitialize the terminal.\n\nterm\nTerminal name.\nIf omitted, the value of the TERM environment variable will be used.\nfd\nFile descriptor to which any initialization sequences will be sent.\nIf not supplied, the file descriptor for sys.stdout will be used.\n\n#### start_color\n\n#### termattrs\n\nReturn a logical OR of all video attributes supported by the terminal.\n\n#### termname\n\nReturn the value of the environment variable TERM, truncated to 14 characters.\n\n#### tigetflag\n\nReturn the value of the Boolean capability.\n\ncapname\nThe terminfo capability name.\n\nThe value -1 is returned if capname is not a Boolean capability, or 0 if\nit is canceled or absent from the terminal description.\n\n#### tigetnum\n\nReturn the value of the numeric capability.\n\ncapname\nThe terminfo capability name.\n\nThe value -2 is returned if capname is not a numeric capability, or -1 if\nit is canceled or absent from the terminal description.\n\n#### tigetstr\n\nReturn the value of the string capability.\n\ncapname\nThe terminfo capability name.\n\nNone is returned if capname is not a string capability, or is canceled or\nabsent from the terminal description.\n\n#### tparm\n\nInstantiate the specified byte string with the supplied parameters.\n\nstr\nParameterized byte string obtained from the terminfo database.\n\n#### typeahead\n\nSpecify that the file descriptor fd be used for typeahead checking.\n\nfd\nFile descriptor.\n\nIf fd is -1, then no typeahead checking is done.\n\n#### unctrl\n\nReturn a string which is a printable representation of the character ch.\n\nControl characters are displayed as a caret followed by the character,\nfor example as ^C.  Printing characters are left as they are.\n\n#### unget_wch\n\nPush ch so the next getwch() will return it.\n\n#### ungetch\n\nPush ch so the next getch() will return it.\n\n#### ungetmouse\n\nPush a KEYMOUSE event onto the input queue.\n\nThe following getmouse() will return the given state data.\n\n#### update_lines_cols\n\n#### use_default_colors\n\nAllow use of default values for colors on terminals supporting this feature.\n\nUse this to support transparency in your application.  The default color\nis assigned to the color number -1.\n\n#### use_env\n\nUse environment variables LINES and COLUMNS.\n\nIf used, this function should be called before initscr() or newterm() are\ncalled.\n\nWhen flag is False, the values of lines and columns specified in the terminfo\ndatabase will be used, even if environment variables LINES and COLUMNS (used\nby default) are set, or if curses is running in a window (in which case\ndefault behavior would be to use the window size if LINES and COLUMNS are\nnot set).\n\n#### wrapper\n\nWrapper function that initializes curses and calls another function,\nrestoring normal keyboard/screen behavior on error.\nThe callable object 'func' is then passed the main window 'stdscr'\nas its first argument, followed by any other arguments passed to\nwrapper().\n\n### DATA\n\nALLMOUSEEVENTS = 268435455\nAALTCHARSET = 4194304\nAATTRIBUTES = 4294967040\nABLINK = 524288\nABOLD = 2097152\nACHARTEXT = 255\nACOLOR = 65280\nADIM = 1048576\nAHORIZONTAL = 33554432\nAINVIS = 8388608\nAITALIC = 2147483648\nALEFT = 67108864\nALOW = 134217728\nANORMAL = 0\nAPROTECT = 16777216\nAREVERSE = 262144\nARIGHT = 268435456\nASTANDOUT = 65536\nATOP = 536870912\nAUNDERLINE = 131072\nAVERTICAL = 1073741824\nBUTTON1CLICKED = 4\nBUTTON1DOUBLECLICKED = 8\nBUTTON1PRESSED = 2\nBUTTON1RELEASED = 1\nBUTTON1TRIPLECLICKED = 16\nBUTTON2CLICKED = 128\nBUTTON2DOUBLECLICKED = 256\nBUTTON2PRESSED = 64\nBUTTON2RELEASED = 32\nBUTTON2TRIPLECLICKED = 512\nBUTTON3CLICKED = 4096\nBUTTON3DOUBLECLICKED = 8192\nBUTTON3PRESSED = 2048\nBUTTON3RELEASED = 1024\nBUTTON3TRIPLECLICKED = 16384\nBUTTON4CLICKED = 131072\nBUTTON4DOUBLECLICKED = 262144\nBUTTON4PRESSED = 65536\nBUTTON4RELEASED = 32768\nBUTTON4TRIPLECLICKED = 524288\nBUTTON5CLICKED = 4194304\nBUTTON5DOUBLECLICKED = 8388608\nBUTTON5PRESSED = 2097152\nBUTTON5RELEASED = 1048576\nBUTTON5TRIPLECLICKED = 16777216\nBUTTONALT = 134217728\nBUTTONCTRL = 33554432\nBUTTONSHIFT = 67108864\nCOLORBLACK = 0\nCOLORBLUE = 4\nCOLORCYAN = 6\nCOLORGREEN = 2\nCOLORMAGENTA = 5\nCOLORRED = 1\nCOLORWHITE = 7\nCOLORYELLOW = 3\nERR = -1\nKEYA1 = 348\nKEYA3 = 349\nKEYB2 = 350\nKEYBACKSPACE = 263\nKEYBEG = 354\nKEYBREAK = 257\nKEYBTAB = 353\nKEYC1 = 351\nKEYC3 = 352\nKEYCANCEL = 355\nKEYCATAB = 342\nKEYCLEAR = 333\nKEYCLOSE = 356\nKEYCOMMAND = 357\nKEYCOPY = 358\nKEYCREATE = 359\nKEYCTAB = 341\nKEYDC = 330\nKEYDL = 328\nKEYDOWN = 258\nKEYEIC = 332\nKEYEND = 360\nKEYENTER = 343\nKEYEOL = 335\nKEYEOS = 334\nKEYEXIT = 361\nKEYF0 = 264\nKEYF1 = 265\nKEYF10 = 274\nKEYF11 = 275\nKEYF12 = 276\nKEYF13 = 277\nKEYF14 = 278\nKEYF15 = 279\nKEYF16 = 280\nKEYF17 = 281\nKEYF18 = 282\nKEYF19 = 283\nKEYF2 = 266\nKEYF20 = 284\nKEYF21 = 285\nKEYF22 = 286\nKEYF23 = 287\nKEYF24 = 288\nKEYF25 = 289\nKEYF26 = 290\nKEYF27 = 291\nKEYF28 = 292\nKEYF29 = 293\nKEYF3 = 267\nKEYF30 = 294\nKEYF31 = 295\nKEYF32 = 296\nKEYF33 = 297\nKEYF34 = 298\nKEYF35 = 299\nKEYF36 = 300\nKEYF37 = 301\nKEYF38 = 302\nKEYF39 = 303\nKEYF4 = 268\nKEYF40 = 304\nKEYF41 = 305\nKEYF42 = 306\nKEYF43 = 307\nKEYF44 = 308\nKEYF45 = 309\nKEYF46 = 310\nKEYF47 = 311\nKEYF48 = 312\nKEYF49 = 313\nKEYF5 = 269\nKEYF50 = 314\nKEYF51 = 315\nKEYF52 = 316\nKEYF53 = 317\nKEYF54 = 318\nKEYF55 = 319\nKEYF56 = 320\nKEYF57 = 321\nKEYF58 = 322\nKEYF59 = 323\nKEYF6 = 270\nKEYF60 = 324\nKEYF61 = 325\nKEYF62 = 326\nKEYF63 = 327\nKEYF7 = 271\nKEYF8 = 272\nKEYF9 = 273\nKEYFIND = 362\nKEYHELP = 363\nKEYHOME = 262\nKEYIC = 331\nKEYIL = 329\nKEYLEFT = 260\nKEYLL = 347\nKEYMARK = 364\nKEYMAX = 511\nKEYMESSAGE = 365\nKEYMIN = 257\nKEYMOUSE = 409\nKEYMOVE = 366\nKEYNEXT = 367\nKEYNPAGE = 338\nKEYOPEN = 368\nKEYOPTIONS = 369\nKEYPPAGE = 339\nKEYPREVIOUS = 370\nKEYPRINT = 346\nKEYREDO = 371\nKEYREFERENCE = 372\nKEYREFRESH = 373\nKEYREPLACE = 374\nKEYRESET = 345\nKEYRESIZE = 410\nKEYRESTART = 375\nKEYRESUME = 376\nKEYRIGHT = 261\nKEYSAVE = 377\nKEYSBEG = 378\nKEYSCANCEL = 379\nKEYSCOMMAND = 380\nKEYSCOPY = 381\nKEYSCREATE = 382\nKEYSDC = 383\nKEYSDL = 384\nKEYSELECT = 385\nKEYSEND = 386\nKEYSEOL = 387\nKEYSEXIT = 388\nKEYSF = 336\nKEYSFIND = 389\nKEYSHELP = 390\nKEYSHOME = 391\nKEYSIC = 392\nKEYSLEFT = 393\nKEYSMESSAGE = 394\nKEYSMOVE = 395\nKEYSNEXT = 396\nKEYSOPTIONS = 397\nKEYSPREVIOUS = 398\nKEYSPRINT = 399\nKEYSR = 337\nKEYSREDO = 400\nKEYSREPLACE = 401\nKEYSRESET = 344\nKEYSRIGHT = 402\nKEYSRSUME = 403\nKEYSSAVE = 404\nKEYSSUSPEND = 405\nKEYSTAB = 340\nKEYSUNDO = 406\nKEYSUSPEND = 407\nKEYUNDO = 408\nKEYUP = 259\nOK = 0\nREPORTMOUSEPOSITION = 268435456\nncursesversion = curses.ncursesversion(major=6, minor=3, patch=20211...\nversion = b'2.2'\n\n### FILE\n\n/usr/lib/python3.10/curses/init.py\n\n"
        }
    ],
    "structuredContent": {
        "command": "curses",
        "section": "",
        "mode": "pydoc",
        "summary": "curses - curses",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "MODULE REFERENCE",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "PACKAGE CONTENTS",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "FUNCTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "baudrate",
                        "lines": 2
                    },
                    {
                        "name": "beep",
                        "lines": 2
                    },
                    {
                        "name": "can_change_color",
                        "lines": 2
                    },
                    {
                        "name": "cbreak",
                        "lines": 11
                    },
                    {
                        "name": "color_content",
                        "lines": 8
                    },
                    {
                        "name": "color_pair",
                        "lines": 8
                    },
                    {
                        "name": "curs_set",
                        "lines": 10
                    },
                    {
                        "name": "def_prog_mode",
                        "lines": 6
                    },
                    {
                        "name": "def_shell_mode",
                        "lines": 6
                    },
                    {
                        "name": "delay_output",
                        "lines": 5
                    },
                    {
                        "name": "doupdate",
                        "lines": 2
                    },
                    {
                        "name": "echo",
                        "lines": 7
                    },
                    {
                        "name": "endwin",
                        "lines": 2
                    },
                    {
                        "name": "erasechar",
                        "lines": 2
                    },
                    {
                        "name": "filter",
                        "lines": 1
                    },
                    {
                        "name": "flash",
                        "lines": 4
                    },
                    {
                        "name": "flushinp",
                        "lines": 5
                    },
                    {
                        "name": "get_escdelay",
                        "lines": 6
                    },
                    {
                        "name": "get_tabsize",
                        "lines": 5
                    },
                    {
                        "name": "getmouse",
                        "lines": 5
                    },
                    {
                        "name": "getsyx",
                        "lines": 4
                    },
                    {
                        "name": "getwin",
                        "lines": 5
                    },
                    {
                        "name": "halfdelay",
                        "lines": 7
                    },
                    {
                        "name": "has_colors",
                        "lines": 2
                    },
                    {
                        "name": "has_extended_color_support",
                        "lines": 5
                    },
                    {
                        "name": "has_ic",
                        "lines": 2
                    },
                    {
                        "name": "has_il",
                        "lines": 2
                    },
                    {
                        "name": "has_key",
                        "lines": 5
                    },
                    {
                        "name": "init_color",
                        "lines": 15
                    },
                    {
                        "name": "init_pair",
                        "lines": 12
                    },
                    {
                        "name": "initscr",
                        "lines": 1
                    },
                    {
                        "name": "intrflush",
                        "lines": 1
                    },
                    {
                        "name": "is_term_resized",
                        "lines": 7
                    },
                    {
                        "name": "isendwin",
                        "lines": 2
                    },
                    {
                        "name": "keyname",
                        "lines": 5
                    },
                    {
                        "name": "killchar",
                        "lines": 2
                    },
                    {
                        "name": "longname",
                        "lines": 5
                    },
                    {
                        "name": "meta",
                        "lines": 5
                    },
                    {
                        "name": "mouseinterval",
                        "lines": 9
                    },
                    {
                        "name": "mousemask",
                        "lines": 7
                    },
                    {
                        "name": "napms",
                        "lines": 5
                    },
                    {
                        "name": "newpad",
                        "lines": 7
                    },
                    {
                        "name": "newwin",
                        "lines": 15
                    },
                    {
                        "name": "nl",
                        "lines": 8
                    },
                    {
                        "name": "nocbreak",
                        "lines": 4
                    },
                    {
                        "name": "noecho",
                        "lines": 4
                    },
                    {
                        "name": "nonl",
                        "lines": 5
                    },
                    {
                        "name": "noqiflush",
                        "lines": 5
                    },
                    {
                        "name": "noraw",
                        "lines": 4
                    },
                    {
                        "name": "pair_content",
                        "lines": 5
                    },
                    {
                        "name": "pair_number",
                        "lines": 4
                    },
                    {
                        "name": "putp",
                        "lines": 4
                    },
                    {
                        "name": "qiflush",
                        "lines": 8
                    },
                    {
                        "name": "raw",
                        "lines": 9
                    },
                    {
                        "name": "reset_prog_mode",
                        "lines": 2
                    },
                    {
                        "name": "reset_shell_mode",
                        "lines": 2
                    },
                    {
                        "name": "resetty",
                        "lines": 2
                    },
                    {
                        "name": "resize_term",
                        "lines": 13
                    },
                    {
                        "name": "resizeterm",
                        "lines": 10
                    },
                    {
                        "name": "savetty",
                        "lines": 2
                    },
                    {
                        "name": "set_escdelay",
                        "lines": 9
                    },
                    {
                        "name": "set_tabsize",
                        "lines": 8
                    },
                    {
                        "name": "setsyx",
                        "lines": 9
                    },
                    {
                        "name": "setupterm",
                        "lines": 9
                    },
                    {
                        "name": "start_color",
                        "lines": 1
                    },
                    {
                        "name": "termattrs",
                        "lines": 2
                    },
                    {
                        "name": "termname",
                        "lines": 2
                    },
                    {
                        "name": "tigetflag",
                        "lines": 8
                    },
                    {
                        "name": "tigetnum",
                        "lines": 8
                    },
                    {
                        "name": "tigetstr",
                        "lines": 8
                    },
                    {
                        "name": "tparm",
                        "lines": 5
                    },
                    {
                        "name": "typeahead",
                        "lines": 7
                    },
                    {
                        "name": "unctrl",
                        "lines": 5
                    },
                    {
                        "name": "unget_wch",
                        "lines": 2
                    },
                    {
                        "name": "ungetch",
                        "lines": 2
                    },
                    {
                        "name": "ungetmouse",
                        "lines": 4
                    },
                    {
                        "name": "update_lines_cols",
                        "lines": 1
                    },
                    {
                        "name": "use_default_colors",
                        "lines": 5
                    },
                    {
                        "name": "use_env",
                        "lines": 11
                    },
                    {
                        "name": "wrapper",
                        "lines": 6
                    }
                ]
            },
            {
                "name": "DATA",
                "lines": 219,
                "subsections": []
            },
            {
                "name": "FILE",
                "lines": 3,
                "subsections": []
            }
        ]
    }
}