A CLI wrapper that prevents accidental Enter key submission when using IME (Input Method Editor).
When you press Enter twice in quick succession (within 300ms), only the second Enter is sent to the command. This prevents IME confirmation Enter from accidentally submitting your input in interactive CLI tools.
This package uses node-pty which requires native compilation. You need to have the following tools installed:
macOS:
- Xcode Command Line Tools:
xcode-select --install
Linux:
- Python (v3.6 or later)
make- C/C++ compiler toolchain (e.g., GCC)
# Debian/Ubuntu sudo apt-get install -y make python3 build-essential # Fedora/RHEL/CentOS sudo yum install -y make python3 gcc-c++
Windows:
- windows-build-tools
npm install --global windows-build-tools
npm install -g voidentervoidenter -- <command> [args...]voidenter -- claude
voidenter -- node
voidenter -- pythonMIT