summaryrefslogtreecommitdiff
path: root/vchat-ui.c
diff options
context:
space:
mode:
authorerdgeist <>2003-04-03 17:24:55 +0000
committererdgeist <>2003-04-03 17:24:55 +0000
commit466ff2176692ad032dd0cedefcb39aac0c995b71 (patch)
treec14e0075d6a38ca4ca9c57121a5b5755b7819034 /vchat-ui.c
parent0a4125a7c136a09a5422ababa2263c2b05f44a76 (diff)
Stupid Readline Killing
Diffstat (limited to 'vchat-ui.c')
-rwxr-xr-xvchat-ui.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/vchat-ui.c b/vchat-ui.c
index eba6ab0..701b5f9 100755
--- a/vchat-ui.c
+++ b/vchat-ui.c
@@ -1150,6 +1150,7 @@ initui (void)
1150 rl_readline_name = "vchat-client"; 1150 rl_readline_name = "vchat-client";
1151 1151
1152 /* set up nick completion functions .. */ 1152 /* set up nick completion functions .. */
1153 rl_ignore_completion_duplicates = 0;
1153#ifdef OLDREADLINE 1154#ifdef OLDREADLINE
1154 rl_completion_entry_function = (Function *) ul_nickcomp; 1155 rl_completion_entry_function = (Function *) ul_nickcomp;
1155 rl_attempted_completion_function = vcccomplete; 1156 rl_attempted_completion_function = vcccomplete;
@@ -1322,10 +1323,8 @@ nickprompt (void)
1322 lastlen = 23; 1323 lastlen = 23;
1323 1324
1324 /* wipe input line and reset cursor */ 1325 /* wipe input line and reset cursor */
1325 wmove (input, 0, 0); 1326 rl_kill_full_line(0,0);
1326 for (i = 0; i < input->_maxx; i++) 1327 wclear(input);
1327 waddch(input, ' ');
1328 wmove(input, 0, 0);
1329 1328
1330 /* reset consoleline */ 1329 /* reset consoleline */
1331 consoleline(NULL); 1330 consoleline(NULL);