Files
neovim/test/functional
Jongwook Choi 59ff4691f6 fix(vim.ui.input): return empty string when inputs nothing (#20883)
fix(vim.ui.input): return empty string when inputs nothing

The previous behavior of `vim.ui.input()` when typing <CR> with
no text input (with an intention of having the empty string as input)
was to execute `on_confirm(nil)`, conflicting with its documentation.

Inputting an empty string should now correctly execute `on_confirm('')`.
This should be clearly distinguished from cancelling or aborting the
input UI, in which case `on_confirm(nil)` is executed as before.
2022-11-08 08:15:15 +08:00
..
2022-11-02 21:45:26 +08:00
2022-09-30 09:53:52 +02:00
2022-11-06 19:02:29 -08:00
2022-10-09 05:21:52 -07:00