parent
6fd486c65e
commit
6f087e899b
|
@ -826,7 +826,7 @@ const CommandDesc rename_buffer_cmd = {
|
||||||
single_param,
|
single_param,
|
||||||
CommandFlags::None,
|
CommandFlags::None,
|
||||||
CommandHelper{},
|
CommandHelper{},
|
||||||
make_single_word_completer([](const Context& context){ return context.buffer().display_name(); }),
|
filename_completer<false>,
|
||||||
[](const ParametersParser& parser, Context& context, const ShellContext&)
|
[](const ParametersParser& parser, Context& context, const ShellContext&)
|
||||||
{
|
{
|
||||||
if (not context.buffer().set_name(parser[0]))
|
if (not context.buffer().set_name(parser[0]))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user