Skip to content

Ctrl + C does nothing when using firefox-android #1699

Open
@SunriseFox

Description

@SunriseFox

Is this a feature request or a bug?

Bug.

What is the current behavior?

Ctrl + C does nothing.

What is the expected or desired behavior?

Should quit the program.

Version information (for bug reports)

  • Firefox version: -
  • Your OS and version: Windows
  • web-ext: 3.1.1

The very likely bad codes:
src\extension-runners\firefox-android.js:537

    const handleCtrlC = (str, key) => {
      if (key.ctrl && key.name === 'c') {
        adbUtils.setUserAbortDiscovery(true);
      }
    };

    // TODO: use noInput property to decide if we should
    // disable direct keypress handling.
    if (isTTY(stdin)) {
      readline.emitKeypressEvents(stdin);
      setRawMode(stdin, true);

      stdin.on('keypress', handleCtrlC);
    }

#1569

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions