#342·enquirer

Input history prevents leaving field empty

Author: urugatorCreated Mar 29, 2021Updated Sep 19, 2025

When leaving input with history empty and hitting `enter` , the *blue hint* (first history entry) is submitted as a value instead of the empty string. Providing `initial: ""` or `""` as one of the history entries has no effect.