summaryrefslogtreecommitdiffstats
path: root/src/include/curses.h
Commit message (Collapse)AuthorAgeFilesLines
* [libc] Add stdbool.h standard headerMichael Brown2017-04-101-1/+1
| | | | Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [mucurses] Fix erroneous __nonnull attributeMichael Brown2017-03-291-1/+2
| | | | Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [legal] Relicense files under GPL2_OR_LATER_OR_UBDLMichael Brown2015-03-021-1/+1
| | | | | | | | | | These files cannot be automatically relicensed by util/relicense.pl since they either contain unusual but trivial contributions (such as the addition of __nonnull function attributes), or contain lines dating back to the initial git revision (and so require manual knowledge of the code's origin). Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [console] Allow consoles to update the recorded console sizeMichael Brown2013-12-061-4/+3Star
| | | | | | | | | | | | | | | | | | | | Provide a mechanism for consoles to update the recorded console width and height, and use this width and height to provide the curses COLS and LINES variables. We choose not to use ANSI escape sequences to obtain the width and height, for two reasons: - iPXE's model is that all output is sent to all consoles; we could therefore end up with multiple consoles reporting conflicting widths and heights - when a serial console is in use, we probably don't want to resize the output shown on the BIOS console to match the size of the serial console, since it's likely that the serial console is in use only for debugging. Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [mucurses] Implement curs_set() to control cursor visibilityMichael Brown2013-12-021-0/+7
| | | | Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [mucurses] Use "<ESC>[2J" ANSI escape sequence to clear screenMichael Brown2013-11-281-5/+8
| | | | Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [build] Rename gPXE to iPXEMichael Brown2010-04-201-2/+2
| | | | | | | | | | | Access to the gpxe.org and etherboot.org domains and associated resources has been revoked by the registrant of the domain. Work around this problem by renaming project from gPXE to iPXE, and updating URLs to match. Also update README, LOG and COPYRIGHTS to remove obsolete information. Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [legal] Add a selection of FILE_LICENCE declarationsMichael Brown2009-05-181-0/+2
| | | | | Add FILE_LICENCE declarations to almost all files that make up the various standard builds of gPXE.
* __nonnull changesHolger Lubitz2007-08-201-31/+35
|
* Make has_key() a static inline, rather than omitting it altogether.Michael Brown2007-07-281-0/+4
|
* KEY_XXX constants are now defined in gpxe/keys.h. Kept separate fromMichael Brown2006-12-201-94/+2Star
| | | | | curses.h so that you don't have to suffer the curses namespace pollution just to get the symbolic key names.
* Define KEY_MIN and use it in kb.c.Michael Brown2006-12-201-0/+1
|
* Add attr_{get,set,on,off} as static inlines.Michael Brown2006-12-201-4/+20
|
* Increase colour pair limitMichael Brown2006-12-201-1/+1
|
* Avoid cursor move on every single characterMichael Brown2006-12-191-0/+2
|
* Now basically functioning on ANSI-supporting consoles.Michael Brown2006-12-191-42/+79
|
* Use int rather than short for bool; it will give more efficient code.Michael Brown2006-12-181-1/+1
|
* Use iskey() and getchar() to interact with console, rather than objectMichael Brown2006-12-181-15/+0Star
| | | | abstraction.
* typo in macro fixedDan Lynch2006-06-281-1/+1
|
* - multiple static inline definitions addedDan Lynch2006-06-271-103/+194
| | | | | | - changes made to some constants and macros - changes made to _curses_screen struct - identified and removed prototypes for yet more unsupportable functions
* - implemented printw (formatted string output, a la printf)Dan Lynch2006-05-221-70/+114
| | | | | | - implemented hline/vline (part of wborder family) - screen cursor now relocates at same time as window cursor when restoring after a non-wrapping function
* - fixes to _wputch to get positioning and wrap working properlyDan Lynch2006-05-221-18/+30
| | | | | - fixes to wborder (same) - addition of a few minor functions
* - made some of the bit shifting attribute access simpler (in my mind)Dan Lynch2006-05-191-248/+50Star
| | | | | | | | | - added extern declarations for global vars - removed comments from static inlines (too time consuming to do them all, considering all so far have been due to the ridiculous amount of redundancy within the API spec) - removed a few more extern func decls for funcs that cannot be implemented at this time
* all window primitives implementedDan Lynch2006-05-181-30/+9Star
|
* Change movetoyx(), putc() and getc() to methods of the screen.Michael Brown2006-05-151-26/+23Star
|
* lightweight xcurses implementation for etherboot (Michael made me do it...)Dan Lynch2006-05-151-0/+871