|
1 /* Public Domain Curses */ |
|
2 |
|
3 #include <curspriv.h> |
|
4 |
|
5 RCSID("$Id: deprec.c,v 1.6 2008/07/13 16:08:18 wmcbrine Exp $") |
|
6 |
|
7 /* Deprecated functions. These should not be used, and will eventually |
|
8 be removed. They're here solely for the benefit of applications that |
|
9 linked to them in older versions of PDCurses. */ |
|
10 |
|
11 bool PDC_check_bios_key(void) |
|
12 { |
|
13 return PDC_check_key(); |
|
14 } |
|
15 |
|
16 int PDC_get_bios_key(void) |
|
17 { |
|
18 return PDC_get_key(); |
|
19 } |
|
20 |
|
21 bool PDC_get_ctrl_break(void) |
|
22 { |
|
23 return !SP->raw_inp; |
|
24 } |
|
25 |
|
26 int PDC_set_ctrl_break(bool setting) |
|
27 { |
|
28 return setting ? noraw() : raw(); |
|
29 } |