Irssi core bugs

All the Irssi bugs should go here, please select the proper version when reporting the bug.

Please see the Irssi core http://www.irssi.org/ChangeLog for recent updates.
| Tasklist |

FS#756 - $[width]var in a themes prompt value

Attached to Project: Irssi core bugs
Opened by PyroPeter (pyropeter) - Friday, 28 May 2010, 21:30 GMT+2
Task Type Bug Report
Category core
Status Unconfirmed
Assigned To No-one
Operating System Linux
Severity Low
Priority Normal
Reported Version irssi 0.8.15
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Irssi does not handle the $[width]var syntax correctly when used in themes.
Instead it displays width-2 spaces and the value of var.

=== Version
irssi 0.8.15 (20100403 1617)

=== How to reproduce
1. Put this in your theme:

prompt = ".$[-3]winref $*] ";

2. Reload config.

3. The prompt is:
. 1 (status)]
This task depends upon

Loading...