Skip to content

twtopic: 2.00 update -- Add dynamic statusbar resizing to window width, foreground colouring, minor optimizations. - #907

Open
Erwin-Iosef wants to merge 1 commit into
irssi:masterfrom
Erwin-Iosef:twtopicdyn
Open

Erwin-Iosef wants to merge 1 commit into
irssi:masterfrom
Erwin-Iosef:twtopicdyn

Conversation

@Erwin-Iosef

Copy link
Copy Markdown

This PR updates twtopic.pl to 2.00 with these features:

  • The topic bar dynamically resizes with respect to the active window width, (thanks a lot to armin for the work!).
  • New formatting option that lets users color the foreground.
  • Some minor optimizations.

Since this script differs from the original a lot, I was unsure whether to release the modifications in a separate script instead of modifying this, if necessary I'm happy to submit a new script instead of modifying the old one.

@dwfreed dwfreed changed the title 2.00 update -- Add dynamic statusbar resizing to window width, foreground colouring, minor optimizations. twtopic: 2.00 update -- Add dynamic statusbar resizing to window width, foreground colouring, minor optimizations. Jun 16, 2026
Comment thread scripts/twtopic.pl Resolved
Comment thread scripts/twtopic.pl Resolved
@Erwin-Iosef

Copy link
Copy Markdown
Author

It's ready for approval!

@Erwin-Iosef
Erwin-Iosef force-pushed the twtopicdyn branch 4 times, most recently from 1b04fb7 to fae361f Compare June 18, 2026 20:29
@bw1 bw1 assigned bw1 and unassigned bw1 Aug 19, 2026
@Erwin-Iosef
Erwin-Iosef force-pushed the twtopicdyn branch 2 times, most recently from 055de7e to 28dfa8b Compare October 26, 2026 08:55
- Topic bar now dynamically resizes to window width, feat. armin.
- Added topic bar foreground colouring support.
- Minor optimizations.
@Erwin-Iosef

Erwin-Iosef commented Oct 26, 2026 •

Copy link
Copy Markdown
Author

I'm still a bit miffed about the scroll animation, I've done the best I can to correctly make it shift one character at a time/"per frame", maybe one day someone can come up with a better solution ;)

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants