Searched refs:tigetnum (Results 1 – 11 of 11) sorted by relevance
110 self.COLS = curses.tigetnum('cols')111 self.LINES = curses.tigetnum('lines')
329 extern "C" int tigetnum(char *capname);358 // The 'tigetnum' routine returns -2 or -1 on errors, and might return 0 if360 bool HasColors = tigetnum(const_cast<char *>("colors")) > 0;
346 extern "C" int tigetnum(char *capname);375 // The 'tigetnum' routine returns -2 or -1 on errors, and might return 0 if377 bool HasColors = tigetnum(const_cast<char *>("colors")) > 0;
345 extern "C" int tigetnum(char *capname);374 // The 'tigetnum' routine returns -2 or -1 on errors, and might return 0 if376 bool HasColors = tigetnum(const_cast<char *>("colors")) > 0;
1030 def tigetnum(capname): function1032 return lib.tigetnum(capname)
673 self.assertIsInstance(curses.tigetnum('cols'), int)674 self.assertEqual(curses.tigetnum('hc'), -2)675 self.assertEqual(curses.tigetnum('cr'), -2)
256 curses.tigetnum('co')
4294 return PyLong_FromLong( (long) tigetnum( (char *)capname ) ); in _curses_tigetnum_impl()
2537 return PyInt_FromLong( (long) tigetnum( capname ) ); in PyCurses_tigetnum()
554 .. function:: tigetnum(capname)
605 .. function:: tigetnum(capname)