Michael Brown
583d258b89
[mucurses] Attempt to fix keypress processing logic
Signed-off-by: Michael Brown <mcb30@ipxe.org >
7 vuotta sitten
Michael Brown
e24be567f4
[legal] Relicense files under GPL2_OR_LATER_OR_UBDL
Relicense files authored by Dan Lynch while working as an employee of
Fen Systems Ltd., with permission from Fen Systems Ltd.
Signed-off-by: Michael Brown <mcb30@ipxe.org >
9 vuotta sitten
Michael Brown
7aa689e3ba
[mucurses] Add missing FILE_LICENCE declarations
Signed-off-by: Michael Brown <mcb30@ipxe.org >
9 vuotta sitten
Michael Brown
b9663b8049
[build] Fix uses of literal 0 as a NULL pointer
Detected using sparse.
Signed-off-by: Michael Brown <mcb30@ipxe.org >
11 vuotta sitten
Alexey Zaytsev
a1572e0ab0
Modify gPXE core and drivers to work with the new timer subsystem
Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com >
16 vuotta sitten
Michael Brown
0d568ac219
Make has_key() a static inline, rather than omitting it altogether.
17 vuotta sitten
Michael Brown
3e816c3d56
Revert "make bool m_echo static" - I suspect this to be defined by spec
This reverts commit 3cb133d27d .
17 vuotta sitten
Holger Lubitz
3cb133d27d
make bool m_echo static
17 vuotta sitten
Holger Lubitz
ac1e0aa63e
remove has_key by #if 0'ing out
17 vuotta sitten
Holger Lubitz
0e0843a872
make _wgetc static
17 vuotta sitten
Michael Brown
b9f8599537
Define KEY_MIN and use it in kb.c.
18 vuotta sitten
Michael Brown
edbdce6e3d
Now basically functioning on ANSI-supporting consoles.
18 vuotta sitten
Michael Brown
1755d8df7a
Renamed core.h to mucurses.h
18 vuotta sitten
Michael Brown
2ed2b2efe8
Use iskey() and getchar() to interact with console, rather than object
abstraction.
18 vuotta sitten
Dan Lynch
c29c868475
- implemented cursor retreat function (_wcursback) as a core function
- reimplemented cleaner wgetnstr
- fixed wdelch for use with _wcursback
18 vuotta sitten
Dan Lynch
11e280670d
- works with test ansi tty, but will need a rethink when we start
getting key_ codes instead
18 vuotta sitten
Dan Lynch
05c0b3ce09
included contents of input.{c,h} in kb.c
18 vuotta sitten
Dan Lynch
1c87d54bb8
- recoded wgetch and wgetnstr for greater more efficiency
- wgetch now includes non, part and full blocking read support
18 vuotta sitten
Dan Lynch
fb85954249
first working version - nasty, but mostly works
18 vuotta sitten