irssi-import / bugs.irssi.org

bugs.irssi.org archive
https://github.com/irssi/irssi/issues
0 stars 0 forks source link

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

Open irssibot opened 14 years ago

irssibot commented 14 years ago

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)]