19 Jul 2026
wayland Just got tagged by the reference to wayland! :p . It's been a constant problem ever since they started using my name. Well, not constant, but I probably get tagged in some random github issue once a year. 22:52
ab5tract: Sounds interesting! 22:53
japhb There was an entire generation of CPUs sharing my name. I found it absolutely hilarious that I would get bug and incident reports. Thankfully I was not flooded with them -- people had to be pretty darned confused to end up at my doorstep -- but nonetheless I would happily celebrate a crash bug by taking a nap. 23:38
1 Sep 2026
patrickb Quick question: How would I add a border around a dialog? Setting border width on e.g. a label works, but it seems to not have any effect on a node or center element. 15:23
japhb Make the surrounding .node a .widget instead, which gives it a drawing surface. Most of the layout methods that don't name a particular widget just create simplified layout/placement nodes that do not actually directly provide a drawing surface. 18:17
But if you use the .widget layout method, it creates a generic Widget to scribble on. This will also give you a central point to filter events destined into your dialog, since events travel through the real widget hierarchy, not the layout tree. 18:18
I can't believe those lines ended up the same length purely by chance. 18:19
patrickb Did that last message end up in the wrong window? 19:05
Thanks for the quick reply! I'll try that!
japhb Nope, it was referring to the two lines right above it (which are exactly the same length in my maximized irssi window). 19:07
You're welcome, and good luck!
patrickb Ah! No chance I would have noticed that on this smartphone with a non mono space font. :-P 20:45
japhb Heh 20:58
2 Sep 2026
patrickb I just realized that I still have three open PRs in T-W. Can we get those in soon-ish? 12:46
japhb Nod. Remind me over the weekend if you haven't heard by then. 15:44
3 Sep 2026
patrickb Architectural question: I need a static rich text widget. I.e. non-focusable, non-scrollable. Pretty much what PlainText does, but with RichText support. 13:08
I tried stripping down Viewer::RichText, but that gets ugly when trying to disable scrolling and focusing. 13:09
I tried adding rich text support to the PlainText widget (or create a copy named "RichText"). But PlainText does have support for wrapping, replicating that would duplicate the better part of WrappableBuffer. 13:11
I then tried to have PlainText inherit from WrappableBuffer. That is difficult, as WrappableBuffer not only provides Wrapping, but also the concept of a cursor. I'm unsure how difficult it would be to pull the concepts of "put wrapped rich text on the screen" and "maintain a cursor including highlighting on some text" apart. 13:15
My feeling is that ideally we should have rich text support everywhere. If so, then having the ability to easily wrap a piece of rich text is valuable to have. Thus we should indeed separate RichText processing and cursor management. 13:18
But ugh, that will be a chunk of work...
Geth Terminal-Widgets: patrickbkr++ created pull request #58:
Input::Text: Implement &process-change to allow reacting to text changes
14:14
Terminal-Widgets: patrickbkr++ created pull request #59:
Implement TW::RichText
14:17
4 Sep 2026
japhb patrickb: Yeah, that will be a chunk of work, but ultimately I wanted to have rich text everywhere (fast pathed for when the full generality isn't needed, like I do with mono/duo text). 01:35
It looks like you created a PR for it though, that was fast 01:36
patrickb nah, that PR just adds a RichText widget without wrapping, pretty much sidestepping the task of generalizing the wrapping logic. 06:27
japhb Ah. 15:10
patrickb Not intending to poke, just ensuring it's seen: Are you aware of the two layouting bugs I reported? 15:28
github.com/japhb/Terminal-Widgets/issues/56
github.com/japhb/Terminal-Widgets/issues/57 15:29
japhb Just haven't had brain space for them. Your poking is completely fair, FWIW. 15:36
patrickb ♥️ 15:48
5 Sep 2026
Friendly "it's weekend" poke. 17:22
japhb :-D 18:33
9 Nov 2026
Geth Terminal-Widgets: patrickbkr++ created pull request #61:
Two small-ish Input::Text and WrappableBuffer additions
16:07
japhb Hi Patrick! 22:51
10 Nov 2026
patrickb Hi there! 07:28
11 Nov 2026
asciinema.org/a/SzTEDcQQiRUUJjJQ 21:22
There are two nice things in there: 21:23
- On the settings screen, two widgets cooperate to create this text-input with proposals thing. Navigating proposals and typing cooperate pretty nicely (IMHO). 21:24
- In the main UI there is a dynamic relayouting happening. (WHOOOT!!!) 21:25
(When pressing 'k' in the asciinema web player, it shows the keys I pressed, that helps making sense of how I use the proposals widget.) 21:26
lizmat cool stuff 21:27
patrickb To give a little bit of context: Relayouting has been one of my absolutely most wanted features of T-W ever. Ever ever. And it actually just works. I didn't patch T-W to do this. I believe japhb enabled this in his last round of refactorings that fixed resizing the terminal window. I just didn't know it worked and how to do it. 21:33
12 Nov 2026
japhb \o/ 00:29
Really happy to hear it's working for you! :-D 00:30
22 Nov 2026
Geth Terminal-Widgets: patrickbkr++ created pull request #62:
Don't die in set-cursor-pos in empty WrappableBuffer
21:17
23 Nov 2026
Terminal-LineEditor: cognominal++ created pull request #15:
Add an &on-finish callback, and time out the terminal queries
15:31