Deprecate "redr|f" in addInput: calls

The previous commit ensures these are no longer neeeded (they used to be
there to avoid the "Press ENTER..." prompt).
This commit is contained in:
Bjorn Winckler
2009-01-04 22:13:48 +01:00
parent d2dbd62e7b
commit 462fb78a85
2 changed files with 3 additions and 8 deletions
+1 -1
View File
@@ -808,7 +808,7 @@ fsEventCallback(ConstFSEventStreamRef streamRef,
NSString *input = [NSString stringWithFormat:@"<C-\\><C-N>"
":let oldswb=&swb|let &swb=\"useopen,usetab\"|"
"tab sb %@|let &swb=oldswb|unl oldswb|"
"cal foreground()|redr|f<CR>", firstFile];
"cal foreground()<CR>", firstFile];
[firstController addVimInput:input];
+2 -7
View File
@@ -2420,10 +2420,7 @@ static NSString *MMSymlinkWarningString =
[self addInput:@"|vert sall"];
// Restore the old value of 'suffixes'.
[self addInput:@"|let &su=mvim_oldsu|unlet mvim_oldsu"];
// Adding "|redr|f" ensures a "Hit ENTER" prompt is not shown.
[self addInput:@"|redr|f<CR>"];
[self addInput:@"|let &su=mvim_oldsu|unlet mvim_oldsu<CR>"];
} else {
// When opening one file we try to reuse the current window,
// but not if its buffer is modified or has a filename.
@@ -2454,9 +2451,7 @@ static NSString *MMSymlinkWarningString =
}
[self addInput:cmd];
// Adding "|redr|f" ensures a "Hit ENTER" prompt is not shown.
[self addInput:@"|redr|f<CR>"];
[self addInput:@"<CR>"];
}
// Force screen redraw (does it have to be this complicated?).