Commit 9f667993 authored by Sylvain Dailler's avatar Sylvain Dailler

Now necessary to type 2 characters to trigger commandline completion

This avoids lags due to a lot of transformations being printed at once
below the commandline. It could formerly be shown by typing "e".
parent 8b67eba7
......@@ -1085,7 +1085,7 @@ let completion_desc = completion_cols#add Gobject.Data.string
let completion_model = GTree.tree_store completion_cols
let command_entry_completion : GEdit.entry_completion =
GEdit.entry_completion ~model:completion_model ~minimum_key_length:1 ~entry:command_entry ()
GEdit.entry_completion ~model:completion_model ~minimum_key_length:2 ~entry:command_entry ()
let add_completion_entry (s,desc) =
let row = completion_model#append () in
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment