diff options
| author | erdgeist <> | 2003-04-03 17:24:55 +0000 |
|---|---|---|
| committer | erdgeist <> | 2003-04-03 17:24:55 +0000 |
| commit | 466ff2176692ad032dd0cedefcb39aac0c995b71 (patch) | |
| tree | c14e0075d6a38ca4ca9c57121a5b5755b7819034 | |
| parent | 0a4125a7c136a09a5422ababa2263c2b05f44a76 (diff) | |
Stupid Readline Killing
| -rwxr-xr-x | vchat-ui.c | 7 |
1 files changed, 3 insertions, 4 deletions
| @@ -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); |
