irssi / scripts.irssi.org

Script Repository for Irssi
https://scripts.irssi.org
492 stars 234 forks source link

Cant see the line #874

Closed KingJulianS closed 5 months ago

KingJulianS commented 5 months ago

Hi , I have trackbar on IRSSI z1.2.3-1 these are the settings :

trackbar_all_manual OFF
trackbar_ignore_windows 
trackbar_print_timestamp OFF
trackbar_require_seen ON
trackbar_string "<><>"
trackbar_style %K
trackbar_use_status_window ON

I can never see any line drawn and when I use /mark , I can see it adding a blank line

Any ideas on how to debug or fix this ?

Thanks.

ailin-nemui commented 5 months ago

have you already tried something like /set trackbar_style %g ?

KingJulianS commented 5 months ago

That worked thanks, sorry newb here , where in the docs would I have seen this ?

ailin-nemui commented 5 months ago

the underlying cause is most likely a bad terminal colour scheme or TERM environment variable on your side. see here for what the colours are supposed to be: https://irssi.org/documentation/settings/#appendix-d-color-codes

KingJulianS commented 5 months ago

Thanks a mill. Still couldn't find this info searching for /help color or even on the online help. Sorry to hassle, but how would one find that appendix if I was not aware it existed. Any tips on getting help to work for such info ?

ailin-nemui commented 5 months ago

first I would look in the script, in this script it is documented what this setting is for:

https://github.com/irssi/scripts.irssi.org/blob/08e2b21e74909de5e88e36f2ddd5dc77b6a7f8cc/scripts/trackbar.pl#L17-L22

of course the link given in the script is wrong/broken but you can search for "color" on irssi.org and the Settings Documentation will be the first hit

KingJulianS commented 5 months ago

thanks a mill.