Skip Menu |
 

This queue is for tickets about the Tickit CPAN distribution.

Report information
The Basics
Id: 102128
Status: new
Priority: 0/
Queue: Tickit

People
Owner: Nobody in particular
Requestors: TEAM [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.50
Fixed in: (no value)



Subject: Tickit::Window warnings when cursor position is not set
Download (untitled) / with headers
text/plain 573b
It seems to be quite easy to end up with code where $win->{cursor_line} / {cursor_col} are undef, causing Tickit::Window->restore and related code throw warnings. From a quick look through the code, you'd need to call ->cursor_at for those values to be set. Not sure what the right thing to do here is, but defaulting to (0,0) either in ->restore or when initially creating the window might at least silence the warnings. Alternatively, raising a more informative warning ("cursor position not set") would at least help identify the cause for widget authors? cheers, Tom


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.