about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-11-29 22:23:31 +0000
committerJames Booth <boothj5@gmail.com>2015-11-29 22:23:31 +0000
commit6e304bb8678921cb22617d2e8eaf7deb8448c1b4 (patch)
treeda728a87e834b784511dd8c14cfa7096b0a34d87
parent921ce6ec7d16b13384a1738538c17d0b9d9e7183 (diff)
downloadprofani-tty-6e304bb8678921cb22617d2e8eaf7deb8448c1b4.tar.gz
Disable readline completion
-rw-r--r--src/ui/inputwin.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/inputwin.c b/src/ui/inputwin.c
index caf5387e..06e055ea 100644
--- a/src/ui/inputwin.c
+++ b/src/ui/inputwin.c
@@ -390,6 +390,9 @@ _inp_rl_startup_hook(void)
     // unbind unwanted mappings
     rl_bind_keyseq("\\e=", NULL);
 
+    // disable readline completion
+    rl_variable_bind("disable-completion", "on");
+
     return 0;
 }