Skip to content

Commit 0cf20fa

Browse files
pysan3takuto
andauthored
feat(input): add newline when use_popups_for_input = false (#1189)
Co-authored-by: takuto <takutoitoi914@ruri.waseda.jp>
1 parent ecabaae commit 0cf20fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/neo-tree/ui/inputs.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ local should_use_popup_input = function()
1111
end
1212

1313
M.show_input = function(input, callback)
14-
local config = require("neo-tree").config
14+
local config = require("neo-tree").config
1515
input:mount()
1616

1717
if config.enable_normal_mode_for_inputs and input.prompt_type ~= "confirm" then
@@ -59,7 +59,7 @@ M.input = function(message, default_value, callback, options, completion)
5959
M.show_input(input)
6060
else
6161
local opts = {
62-
prompt = message .. " ",
62+
prompt = message .. "\n",
6363
default = default_value,
6464
}
6565
if completion then

0 commit comments

Comments
 (0)