voidenter
v1.0.0
Published
A CLI wrapper that disables Enter
Downloads
8
Readme
voidenter
A CLI wrapper that prevents accidental Enter key submission when using IME (Input Method Editor).
What it does
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.
Installation
Prerequisites
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
Install
npm install -g voidenterUsage
voidenter -- <command> [args...]Examples
voidenter -- claude
voidenter -- node
voidenter -- pythonLicense
MIT
