mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 15:26:17 +02:00
Merge branch 'fix/issue-1742-empty-completions' of git://github.com/dtzWill/nix
This commit is contained in:
commit
62e214fa6f
1 changed files with 0 additions and 7 deletions
|
@ -2587,13 +2587,6 @@ int InputBuffer::getInputLine(PromptBase& pi) {
|
|||
|
||||
// ctrl-I/tab, command completion, needs to be before switch statement
|
||||
if (c == ctrlChar('I') && completionCallback) {
|
||||
if (pos == 0) // SERVER-4967 -- in earlier versions, you could paste
|
||||
// previous output
|
||||
continue; // back into the shell ... this output may have leading
|
||||
// tabs.
|
||||
// This hack (i.e. what the old code did) prevents command completion
|
||||
// on an empty line but lets users paste text with leading tabs.
|
||||
|
||||
killRing.lastAction = KillRing::actionOther;
|
||||
historyRecallMostRecent = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue