about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--lib/ui/textinput.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ui/textinput.go b/lib/ui/textinput.go
index b0af21f..f7301fb 100644
--- a/lib/ui/textinput.go
+++ b/lib/ui/textinput.go
@@ -275,6 +275,10 @@ func (ti *TextInput) updateCompletions() {
 }
 
 func (ti *TextInput) showCompletions() {
+	if ti.tabcomplete == nil {
+		// no completer
+		return
+	}
 	ti.completions = ti.tabcomplete(ti.StringLeft())
 	ti.completeIndex = -1
 	ti.Invalidate()
' href='#n73'>73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136