Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-11677

Console apps seems to be receiving Ctrl+C twice

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Fix Version/s: None
    • Component/s: Win32SS
    • Labels:
      None

      Description

      Not sure if the issue is that console is receiving Ctrl+C twice or if the issue is the way console is sending to the app the Ctrl+C signal.
      With the test case attached, if you press Ctrl+C to break, you can see how the "Ctrl+C signal received" is printed twice.In Windows just one message is received.
      In Windows you keep receiving the Ctrl+C signal continuosly just if you keep the C pressed. Could it be that we are sending the signals so so fast that one keypress is read as twice?
      Replication method:

      • Open cmd.exe and run CtrlHandler.exe
      • Press Ctrl+C once
      • The line "Ctrl+C signal received" appears twice.

        Attachments

          Activity

            People

            • Assignee:
              hbelusca HBelusca
              Reporter:
              vicmarcal victor martinez calvo
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: