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