m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 08:13:40 -05:00

Optimize LightRenderer for slow terminals

This commit is contained in:
Junegunn Choi
2017-01-16 02:26:36 +09:00
parent 44d3faa048
commit ede7bfb901
5 changed files with 50 additions and 21 deletions

View File

@@ -279,6 +279,10 @@ func (r *FullscreenRenderer) DoesAutoWrap() bool {
return true
}
func (r *FullscreenRenderer) IsOptimized() bool {
return true
}
func (w *CursesWindow) Fill(str string) FillReturn {
if C.waddstr(w.impl, C.CString(str)) == C.OK {
return FillContinue