Lines 702-708
Link Here
|
702 |
int prompt_len; |
702 |
int prompt_len; |
703 |
|
703 |
|
704 |
prompt = strip_ctrl_codes (subshell_prompt); |
704 |
prompt = strip_ctrl_codes (subshell_prompt); |
705 |
prompt_len = strlen (prompt); |
705 |
prompt_len = mbstrlen (prompt); |
706 |
|
706 |
|
707 |
/* Check for prompts too big */ |
707 |
/* Check for prompts too big */ |
708 |
if (COLS > 8 && prompt_len > COLS - 8) { |
708 |
if (COLS > 8 && prompt_len > COLS - 8) { |