Skip Menu |

This queue is for tickets about the Term-Prompt CPAN distribution.

Report information
The Basics
Id: 102472
Status: new
Priority: 0/
Queue: Term-Prompt

People
Owner: Nobody in particular
Requestors: wschaub [...] threatstop.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.04
Fixed in: (no value)



Subject: termwrap does not wrap lines correctly because of a typo
The terminal wrapping feature is broken because of a typo setting $Text::Wrap::columns in the termwrap subroutine at line 511 it should read $Text::Wrap::columns = $width; but actually reads $Text::Wrap::Columns = $width; this causes Text::Wrap to not have the real information it needs to wrap text for the current terminal width. I consider this pretty important because it causes prompts to look ugly when they wrap too soon no matter how big of a terminal you have.