diff options
author | Kalev Lember <kalev@smartlink.ee> | 2009-08-06 18:35:48 (GMT) |
---|---|---|
committer | Kalev Lember <kalev@smartlink.ee> | 2009-09-01 15:47:36 (GMT) |
commit | 3aa570ccbccd12bdc481f5d767b6bef52257d0ad (patch) | |
tree | 319bbfdf89dafe372a74958baf8a64f12b8e0a27 /main.c | |
parent | e4712e43c08d110be1f6b0dae4f14a64f1cba6d9 (diff) | |
download | powwow-3aa570ccbccd12bdc481f5d767b6bef52257d0ad.zip powwow-3aa570ccbccd12bdc481f5d767b6bef52257d0ad.tar.gz powwow-3aa570ccbccd12bdc481f5d767b6bef52257d0ad.tar.bz2 |
Match prompts longer than terminal width
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=509288
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -783,7 +783,7 @@ static void process_singleline __P2 (char **,pbuf, int *,psize) * if a #prompt matches and sets #isprompt, then it is REALLY a prompt * so never match #actions on it. */ - if (lineend == end && tcp_fd == tcp_main_fd && printstrlen(linestart) < cols) { + if (lineend == end && tcp_fd == tcp_main_fd) { /* * The last line in the chunk we received has no trailing \n * Assume it is a prompt. |