Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Kitware
GitHub Repository: Kitware/CMake
Path: blob/master/Utilities/cmpdcurses/wincon/pdcutil.c
3153 views
1
/* PDCurses */
2
3
#include "pdcwin.h"
4
5
void PDC_beep(void)
6
{
7
PDC_LOG(("PDC_beep() - called\n"));
8
9
/* MessageBeep(MB_OK); */
10
MessageBeep(0XFFFFFFFF);
11
}
12
13
void PDC_napms(int ms)
14
{
15
PDC_LOG(("PDC_napms() - called: ms=%d\n", ms));
16
17
if ((SP->termattrs & A_BLINK) && (GetTickCount() >= pdc_last_blink + 500))
18
PDC_blink_text();
19
20
Sleep(ms);
21
}
22
23
const char *PDC_sysname(void)
24
{
25
return "Windows";
26
}
27
28