Here is the solution.
- Select Start > Settings > System > For developers. In Terminal, select
Windows Console Host. - Now launching one of the command interpreters CMD,.
- Right-click on the application title bar and choose the
Propertiesmenu option. Choose the first tab,Options. Then check the box at the bottom of the page describingUse legacy console. Press theOKbutton to apply.
The PDCurses Application Program now works perfectly on Windows-11.