tt. But then, in the message tree, I spot another missed typo. My process is then to go to my twtxt.txt and fix it by hand. However, I still have to clean up tt's cache. This is rather tidious:
Fuck me! I tried to upgrade tview and the first thing I notice is a shitload of added dependency versions:
go.mod | 18 ++++-----
go.sum | 97 ++++++++++++++++++++++++++++++++++++++-----------
My code does not compile anymore as the view.FormItem interface was extended. Get/SetDisabled(…) are quickly implemented, no worries.
But the tview.Primitive (what makes a widget) interface has now a bunch of PRIVATE methods. For focus handling. Would you believe that!? Thanks, I cannot satisfy this interface in my very custom widgets anymore. Okay then, I just embed *tview.Box. tt now successfully compiles, but does not react anymore on key presses and the message tree is not focused either.
I’m not in the mood to debug this shit. :-( Lunch time.
Laduora Duo 4-in-1 Red Light Therapy Scalp and Hair Care Device Review: Custom Goals
This handheld device combines red light therapy, microcurrents, sonic vibration, warmth, and a serum to support healthy hair growth. ⌘ Read more
This psychedelic treatment could change the game for concussion sufferers
A new clinical trial is set to test whether psilocybin-assisted psychotherapy could treat the long-term effects of mild traumatic brain injury. ⌘ Read more
Irankunda explains his Cahill tribute
Socceroos young gun Nestory Irankunda explains why he paid tribute to Tim Cahill with his epic World Cup goal. ⌘ Read more
Irankunda explains his Cahill tribute
Socceroos young gun Nestory Irankunda explains why he paid tribute to Tim Cahill with his epic World Cup goal. ⌘ Read more
Turkish fans turn out in thousands to support both teams in World Cup match
“I’m an Australian and a Turk at the same time,” one fan said on Sunday of supporting both countries. “I respect Australia as my home country, but I’m a Turk as well. So why not?” ⌘ Read more
Turkish fans turn out in thousands to support both teams in World Cup match
“I’m an Australian and a Turk at the same time,” one fan said on Sunday of supporting both countries. “I respect Australia as my home country, but I’m a Turk as well. So why not?” ⌘ Read more
The G7 Summit Is Dogged by Chaos and Divided by Trump
Group of 7 meetings once embodied the effort to sustain the global diplomatic order. This year’s gathering, starting on Monday, symbolizes its fragmentation. ⌘ Read more
Seven arrested at Brisbane Palestine rally including flotilla activist detained by IDF
Seven people have been arrested at a pro-Palestine rally organised to test Queensland police’s enforcement of the government’s hate speech laws. ⌘ Read more
This player was busted meeting a rival coach. Now he has to show he’s worth the hype
Yes, he is a young player, taken at pick six in the COVID-affected draft of 2022. But compare his career to that of his contemporaries. ⌘ Read more
Calls for shark cull after Sydney attack
The government is looking to rewrite the rulebook on safety measures in the wake of the Coogee Beach shark attack. ⌘ Read more
Calls for shark cull after Sydney attack
The government is looking to rewrite the rulebook on safety measures in the wake of the Coogee Beach shark attack. ⌘ Read more
Pauline Hanson new preferred Prime Minister
Exclusive new polling reveals One Nation leader Pauline Hanson has surged to become the nation’s preferred Prime Minister for the first time. ⌘ Read more
Pauline Hanson new preferred Prime Minister
Exclusive new polling reveals One Nation leader Pauline Hanson has surged to become the nation’s preferred Prime Minister for the first time. ⌘ Read more
Bondi terror victims to be honoured with memorial
The victims of the Bondi terror attack will be honoured with a permanent memorial as six months passes since shooting. ⌘ Read more
Bondi terror victims to be honoured with memorial
The victims of the Bondi terror attack will be honoured with a permanent memorial as six months passes since shooting. ⌘ Read more
@movq@www.uninformativ.de I just ran across another thing. At least I personally couldn’t care less about CI infrastructure changes. Whether they’re using github action a or b or c or version v or w, it is not of my interest. At all. (It might be useful to estimate the supply chain attack risk, though.) If the maintainers want to include them in the changelog – and there are probably people to whom this information is crucial – it’s probably best to document CI infrastructure changes in their own section.
Ryan, Nas star in Saints win; Roo Curtis offered ban; Lions’ miracle goal buries Tigers; Hardwick under fire
Nasiah Wanganeen-Milera and Liam Ryan ignited St Kilda at Marvel Stadium; North Melbourne’s Paul Curtis faces another three-match suspension; the Lions prevail in Hobart; and, Damien Hardwick’s under fire. ⌘ Read more
@movq@www.uninformativ.de You may want to include another antipattern to avoid in your article:
- bump $same_dependency from 1.0.0 to 1.0.1
- bump $same_dependency from 1.0.1 to 1.0.2
- bump $same_dependency from 1.0.2 to 1.1.0
- bump $same_dependency from 1.1.0 to 1.2.0
Socceroos fever takes over with stunning start to World Cup
Socceroos fans celebrated at fan sites across the country as Australians turned Vancouver green and gold. ⌘ Read more
Jarome and hosed: Luai hat-trick seals stunning Leichhardt farewell for Tigers
In a match of mad momentum swings, it had to be the Tigers’ co-captain who stood tall and steered his side to victory on Sunday. ⌘ Read more
Curtis offered ban for tackle that dazed Eagle; Ashcroft’s miracle goal buries Tigers; Hardwick under fire
North Melbourne will have to decide whether to challenge the suspension offered to Paul Curtis; the Lions prevail in Hobart; and, Damien Hardwick’s Friday-night outburst prompts an Adelaide great to demand action. ⌘ Read more
Hanson overtakes Albanese as preferred PM, Coalition crashes to record low
One Nation is also now Australia’s preferred party by primary vote, overtaking Labor for the first time. ⌘ Read more
In Venezuela, a 91-Year-Old Weaver Sticks to Traditions
Though electric machines are now standard, the Venezuelan weaver Margarita Mora has clung to a mix of ancestral Indigenous and Spanish practices to create surprisingly modern work. ⌘ Read more
Royal family on parade at Trooping the Colour
King Charles and Queen Camilla, who were greeted by applause from the large crowds, were joined by Prince William and Princess Catherine to mark the monarch’s official birthday. ⌘ Read more
tt. But then, in the message tree, I spot another missed typo. My process is then to go to my twtxt.txt and fix it by hand. However, I still have to clean up tt's cache. This is rather tidious:
@movq@www.uninformativ.de Thank you very much! So, the concept is very similar. The root widget gets the input and can pass it to whatever child has the focus and so on.
My two main issues are the API design, that the input handler sometimes get an additional callback to notify the application about which element is focused, but sometimes not. And that focus switching sometimes just does not work as expected. Anyway.
As for rendering the selected button, I was also thinking about indicating it with some kind of border around it, square brackets seem to be a wonderful choice. :-)
Knicks break their drought and deliver long-awaited sporting glory to New York
After a 53-year wait, the New York Knicks are NBA champions again, thanks to another come-from-behind win. ⌘ Read more
FIFA World Cup 2026 LIVE updates: ‘Who got the goals? We got the goals’: Irankunda responds to Turkey’s talk
Nestory Irankunda and Connor Metcalfe delivered Australia’s first win in a World Cup opener since 2006 set up a blockbuster showdown next Saturday with Group D rivals and hosts USA. ⌘ Read more
Six arrested at Brisbane Palestine rally including flotilla activist detained by IDF
Six people have been arrested at a pro-Palestine rally organised to test Queensland police’s enforcement of the government’s hate speech laws. ⌘ Read more
Six arrested at Brisbane Palestine rally including flotilla activist detained by IDF
Six people have been arrested at a pro-Palestine rally organised to test Queensland police’s enforcement of the government’s hate speech laws. ⌘ Read more
We have the technology to prevent shark bites. Let’s use it to save lives
From drones, to smart drumlines and personal devices that deter attacks, we have better ways to keep swimmers and surfers safer, but we need to deploy them. ⌘ Read more
‘You are meant to be greater’: Hospital program unveiled to target youth crime
Youth workers and mentors will be embedded in two major Melbourne hospitals under a pilot program to divert young offenders away from crime. ⌘ Read more
‘You are meant to be greater’: Hospital program unveiled to target youth crime
Youth workers and mentors will be embedded in two major Melbourne hospitals under a pilot program to divert young offenders away from crime. ⌘ Read more
Tigers get another try through May
Taylan May hands a 12-point lead to the Wests Tigers as he finds space to score. ⌘ Read more
To’a scores first try
In the Wests Tigers final game at Leichhardt until 2028, Starford To’a is the first to score in front of a roaring crowd. ⌘ Read more
To’a scores first try
In the Wests Tigers final game at Leichhardt until 2028, Starford To’a is the first to score in front of a roaring crowd. ⌘ Read more
Ashcroft’s miracle goal turns match against Richmond; AFL urged to crack down on ump-bashing
In today’s AFL briefing, a dual Norm Smith medallist produces a goal-of-the-year contender in Brisbane’s win, and Gold Coast coach Damien Hardwick’s Friday night outburst prompts an Adelaide great to demand action. ⌘ Read more
Irankunda’s genius and Beach’s brilliance cap off Popovic masterclass
Questions over the Socceroos coach only grew once the team to play Turkey was announced on Sunday. The result justified every move. ⌘ Read more
Tips and race-by-race guide for Tamworth on Monday
All you need to know to back a winner on the seven-race card. ⌘ Read more
AFL urged to crack down on umpire-bashing after Hardwick airs his frustration
The umpires were in the gun on Friday night, but an Adelaide great says the comments from the Suns coach crossed the line and the AFL should act for the sake of officials at all levels of the sport. ⌘ Read more
‘Disappointing’: Why Sydney’s oldest bowling club was forced to close
After almost 150 years, mounting losses have forced the closure of the historic community and sporting hub in Balmain and cast doubt over the site’s future. ⌘ Read more
‘Disappointing’: Why Sydney’s oldest bowling club was forced to close
After almost 150 years, mounting losses have forced the closure of the historic community and sporting hub in Balmain and cast doubt over the site’s future. ⌘ Read more
Trump Says Peace Deal Will Be Signed Sunday, but Iran Disputes Timeline
An Iranian foreign ministry official sought to temper expectations, saying there were no plans for a Sunday signing and an agreement could be inked in the coming days. ⌘ Read more
Irankunda sets Aussie crowd alight with electric goal
Australian fans go wild as Nestory Irankunda smashes the ball into the back of the net to score against Turkiye. ⌘ Read more
Beautiful game an ideal playing field for tragicomic tale of adolescent angst
There’s much to enjoy in the Pulitzer Prize-shortlisted play, The Wolves, which follows the ups and downs of a girls’ high school soccer team. ⌘ Read more
‘I’ve had enough’: Duniam shares the moment he knew his political career was over
The Tasmanian senator gave a parting warning to his colleagues, as he announced his plan to step away from politics to spend more time with his family. ⌘ Read more
Socceroos’ secret weapon no more: The explosive rise of Nestory Irankunda
A day after this profile was published in Good Weekend, 20-year-old Nestory Irankunda announced himself to the planet, scoring a breathtaking goal in the World Cup that has already been hailed as an instant classic. ⌘ Read more
Socceroos’ secret weapon no more: The explosive rise of Nestory Irankunda
A day after this profile was published in Good Weekend, 20-year-old Nestory Irankunda announced himself to the planet, scoring a breathtaking goal in the World Cup that has already been hailed as an instant classic. ⌘ Read more
Irankunda sets Aussie crowd alight with electric goal
Australian fans go wild as Nestory Irankunda smashes the ball into the back of the net to score against Turkiye. ⌘ Read more
Trump Says Peace Deal Will Be Signed Sunday, but Iran Disputes Timeline
An Iranian foreign ministry official sought to temper expectations, saying there were no plans for a Sunday signing and an agreement could be inked in the coming days. ⌘ Read more
NRMA roadside assist staff on strike for first time in 23 years
The organisation said not all patrols would take part in industrial action, and it had made contingency arrangements to minimise disruption. ⌘ Read more
Iran War Live Updates: Trump Says Peace Deal Will Be Signed Sunday, but Iran Disputes Timeline
An Iranian foreign ministry official sought to temper expectations, saying there were no plans for a Sunday signing and an agreement could be inked in the coming days. ⌘ Read more
Japan Is Running Out of Royals. Are More Men the Answer?
Japan’s legislature is drafting a plan to allow the imperial family to adopt distant male relatives. But some in Japan would prefer a female emperor. ⌘ Read more
Germany and Japan Are Rearming Again, 80 Years After World War II
After becoming allies to disastrous effect in the 1940s, Berlin and Tokyo are finding new reasons to team up — including rebuilding their militaries. ⌘ Read more
In Venezuela, a 91-Year-Old Weaver Sticks to Traditions
Though electric machines are now standard, the Venezuelan weaver Margarita Mora has clung to a mix of ancestral Indigenous and Spanish practices to create surprisingly modern work. ⌘ Read more
Drone ban lifted at Coogee Beach after woman mauled by shark
The government will work with the Civil Aviation Safety Authority and Surf Life Saving NSW to make the exemption permanent. ⌘ Read more
New York Knicks break drought to win NBA championship
New York’s 53-year title drought is over after another come-from-behind win. ⌘ Read more
New York Knicks break drought to win NBA championship
New York’s 53-year title drought is over after another come-from-behind win. ⌘ Read more
‘Sports guy’ Trump works to project strength with UFC bout as political woes mount
Trump will celebrate becoming an octogenarian as he hosts an extravagant UFC showcase on the White House South Lawn on Sunday night. ⌘ Read more
Beautiful game an ideal playing field for tragicomic tale of adolescent angst
There’s much to enjoy in the Pulitzer Prize-shortlisted play, The Wolves, which follows the ups and downs of a girls’ high school soccer team. ⌘ Read more
Cummins’ huge vow amid chaotic Aussie period
Australian captain Pat Cummins speaks to Nine’s Today about the gruelling Test and ODI period on the horizon. ⌘ Read more
Cummins’ huge vow amid chaotic Aussie period
Australian captain Pat Cummins speaks to Nine’s Today about the gruelling Test and ODI period on the horizon. ⌘ Read more
An unhappy birthday for Trump: His Iran deal – and presidency – on the brink
It’s Donald Trump’s 80th birthday. Iran is yet to deliver his birthday gift, despite all his bluster. ⌘ Read more
Popovic ready for World Cup as rivals make a statement
Tony Popovic is ready to lead his Socceroos team through their first match of the 2026 FIFA World Cup, just hours after their group stage rivals, the USA, made a huge statement. ⌘ Read more
Australian fans prepare for World Cup opener
Australian fans are in high spirits on the streets of Vancouver as they prepare to cheer on the Socceroos in their first game of the 2026 FIFA World Cup. ⌘ Read more
Drone ban lifted at Coogee Beach after woman mauled by shark
The government will work with the Civil Aviation Safety Authority and Surf Lifesaving NSW to make the exemption permanent. ⌘ Read more
Australian fans prepare for World Cup opener
Australian fans are in high spirits on the streets of Vancouver as they prepare to cheer on the Socceroos in their first game of the 2026 FIFA World Cup. ⌘ Read more
Iran War Live Updates: Trump Says Peace Deal Will Be Signed Sunday, but Iran Disputes Timeline
An Iranian foreign ministry official sought to temper expectations, saying there were no plans for a Sunday signing and an agreement could be inked in the coming days. ⌘ Read more
@itsericwoodward@itsericwoodward.com Why hear? I’ll just put it up at https://twtxt.app now shall I? It’s good enough IMO that it’s already working quite well. The challenging parts now is to figure out a good set of default publishing connectors to support? 🤔
4 things to know about the new sunscreen ingredient the FDA approved
Article URL: https://www.npr.org/2026/06/13/nx-s1-5856385/sunscreen-skin-protection-bemotrizinol
Comments URL: https://news.ycombinator.com/item?id=48523203
Points: 7
# Comments: 0 ⌘ Read more
FIFA World Cup 2026 LIVE updates: Brazil and Morocco draw 1-1 in New Jersey, Australia’s Socceroos start campaign against Turkey
Brazil and Morocco go head-to-head before the Socceroos begin their World Cup campaign against group favourites Turkey. Follow all the action. ⌘ Read more
Iran War Live Updates: Trump Says Peace Deal Will Be Signed Sunday, but Iran Disputes Timeline
An Iranian foreign ministry official sought to temper expectations, saying there were no plans for a Sunday signing and an agreement could be inked in the coming days. ⌘ Read more
Iran War Live Updates: Trump Says Peace Deal Will Be Signed Sunday, but Iran Disputes Timeline
An Iranian foreign ministry official sought to temper expectations, saying there were no plans for a Sunday signing and an agreement could be inked in the coming days. ⌘ Read more
Calls for fuel relief to be extended
Nationals MP David Littleproud has called for fuel relief to transport companies to be extended as several measures making fuel cheaper in Australia coming to an end in July. ⌘ Read more
Calls for fuel relief to be extended
Nationals MP David Littleproud has called for fuel relief to transport companies to be extended as several measures making fuel cheaper in Australia coming to an end in July. ⌘ Read more
Ready and waiting for a watch party: Young fans have solid advice for the Socceroos
Watching the World Cup on Sunday at 2pm? It’s a no-brainer for young Sydney players eager to cheer on the Aussie team. What about the 5am start next week? You bet! ⌘ Read more
Qatar stuns Switzerland to steal a point
Qatar scored late to stun Switzerland and force a draw in the FIFA World Cup. ⌘ Read more
Show HN: I built 80 mini-games using Fable before it was shut down
Dear Hacker News,
I’m kindly asking for your participation in the open beta for my AI-managed mini-games website. Thank you in advance!
For a limited time window, I’m setting the all-free feature flag to true. I hope you have a lot of fun exploring the AI’s sense for games! Here and there, I tweaked it to help with visual consistency.
I would be deeply grateful if you opted into analytics.
$2,300 in API tokens…
Cheers!
Comments URL: [https://news.ycombinator.c … ⌘ Read more
Liberal heavyweight Jonno Duniam makes shock retirement announcement
The Tasmanian senator, 43, says he wants to spend more time with his family. ⌘ Read more
Top Haitian Security Official Kidnapped
A security expert who had recently become chief of staff to the new defense minister was abducted, the latest example of violence gripping the country. ⌘ Read more
Derbyshire Police officer accused of using AI to ‘create evidence’
Article URL: https://www.bbc.com/news/articles/cy8wppwdxl6o
Comments URL: https://news.ycombinator.com/item?id=48522237
Points: 7
# Comments: 1 ⌘ Read more
Bondi terror attack victims to be honoured in permanent memorial
The 15 victims of the Bondi terror attack are set to be honoured in a permanent memorial, the NSW Government has announced. ⌘ Read more
Iran War Live Updates: Trump Says Peace Deal Will Be Signed Sunday, but Iran Disputes Timeline
An Iranian foreign ministry official sought to temper expectations, saying there were no plans for a Sunday signing and an agreement could be inked in the coming days. ⌘ Read more
Iran War Live Updates: Trump Says Peace Deal Will Be Signed Sunday, but Iran Disputes Timeline
An Iranian foreign ministry official sought to temper expectations, saying there were no plans for a Sunday signing and an agreement could be inked in the coming days. ⌘ Read more
Iran War Live Updates: Trump Says Peace Deal Will be Signed Sunday, But Iran Disputes Timeline
An Iranian foreign ministry official sought to temper expectations, saying there were no plans for a Sunday signing and an agreement could be inked in the coming days. ⌘ Read more
Scientists Race to Test Treatments as Ebola Outbreak Widens
Trials are beginning on several drugs that have shown promise in preliminary studies against the virus that is causing the current outbreak. ⌘ Read more
Short-term rental crackdown sparks housing row on Sydney’s most famous beach
Short-term rental rules across Australia’s most internationally recognised beachside strips could be overhauled in a move to ease a housing crisis gripping Sydney. ⌘ Read more
Instant offers and $20,000 sweeteners: The battle to keep these subjects in NSW schools
Research consistently points to broader cognitive benefits of learning a foreign language but last year just over 250 public school students were in Japanese beginners. ⌘ Read more
Six thousand students, 1000 places. Competition has never been tougher for Melbourne’s best schools
Many families are turning to tutors before the select-entry schools exam. But educators say a revamped test will ensure it is fair. ⌘ Read more
With a Deal Seemingly Close, the U.S. Faces an Iran More Willing to Withstand Pressure
Iran’s new, more militaristic leaders have already survived the worst that America and Israel can deliver, and seem readier to take risks. ⌘ Read more
More of Trump’s UFO files released as third batch appears online
The third batch of files is now available to view and download from the Department of War’s website. Given that it wasn’t that long ago that we were s… ⌘ Read more
tt. But then, in the message tree, I spot another missed typo. My process is then to go to my twtxt.txt and fix it by hand. However, I still have to clean up tt's cache. This is rather tidious:
With multicolored TUIs, I find it usually hard to immediately tell which button is selected if there are just two.
Indeed, I wouldn’t be able to tell in that example, either. movwin works around that by (mostly) assuming that there is no support for colors at all, so there should always be a way to tell which widget has focus, even without colors. That’s why it puts brackets around a button’s label when focused:
The fewer colors you use, the better, I guess. 🤔
tt. But then, in the message tree, I spot another missed typo. My process is then to go to my twtxt.txt and fix it by hand. However, I still have to clean up tt's cache. This is rather tidious:
Now I’m curious how movwin deals with that. ;-)
Focus handling? I hardly remember, lol. 😅 Did that 6 months ago and haven’t touched it since. Let’s see.
The core main loop gets keyboard/mouse events from curses. At this level, the main loop only knows about exactly one widget, so it passes the event to that widget (whatever that is, doesn’t matter – they all inherit from the Widget base class, it could be a Window, a WindowManager, or an Edit box directly).
The outermost widget is usually a WindowManager. It implements a few hotkeys of its own, like switching to another window. If none of those hotkeys match, it passes the event to the currently focused window.
Same story here: Window implements some hotkeys (like opening the menu bar). If none of those match, then … the magic happens.
Each Window acts as a focus manager. It can descend into its child widget hierarchy and collect all child widgets in a depth-first search. They are collected into a flat list. Each Window then has an attribute _focus_position, which is an index into that list. Pressing Tab or Shift+Tab increases or decreases that index and that allows you to select the next/previous focusable widget in the current window.
Eventually, Window passes the input event to the currently focused widget.
Usually on initialization, the application can ask a Window object to focus a certain widget. The file selection dialog does that, for example, because the “natural” focus order would be to focus the Edit box at the top of the window first – but that’s not what the user wants, the Table showing the list of files should be focused.
If no widget ever feels responsible for handling a certain input event, then there’s a global unhandled_input callback that the application can provide (same as in urwid).
I think that’s it.
Hm, that’s more complicated than I remembered, but apparently it works fine, because I completely forgot about this. 😅 All I did in the last few months was make new classes that inherit from Widget, like the new Table class or Edit or HexEdit or whatever, and if they want to get input events, then they must implement the methods input_key() or input_mouse().
Does this answer your question? 😅 (I admit that I didn’t exactly understand your scenario, so I just went ahead and rambled about my implementation. 😅)
Iran War Live Updates: Trump Says Peace Deal Will be Signed Sunday, But Iran Disputes Timeline
An Iranian foreign ministry official sought to temper expectations, saying there were no plans for a Sunday signing and an agreement could be inked in the coming days. ⌘ Read more
Scientists Race to Test Treatments as Ebola Outbreak Widens
Trials are beginning on several drugs that have shown promise in preliminary studies against the virus that is causing the current outbreak. ⌘ Read more
Iran War Live Updates: Trump Says Peace Deal Will be Signed Sunday, But Iran Disputes Timeline
An Iranian foreign ministry official sought to temper expectations, saying there were no plans for a Sunday signing and an agreement could be inked in the coming days. ⌘ Read more
Iran War Live Updates: Trump Says Peace Deal Will be Signed Sunday, But Iran Disputes Timeline
An Iranian foreign ministry official sought to temper expectations, saying there were no plans for a Sunday signing and an agreement could be inked in the coming days. ⌘ Read more
Iran War Live Updates: Trump Claims Peace Deal Will be Signed Sunday, But Iran Disputes Timeline
An Iranian foreign ministry official sought to temper expectations, saying there were no plans for a Sunday signing and an agreement could be inked in the coming days. ⌘ Read more
Iran War Live Updates: Mediator Says Peace Deal Could be Finalized Within 24 Hours
The prime minister of Pakistan, a key intermediary in U.S.-Iran talks, said a deal was “likely expected.” An Iranian official sought to temper expectations but said an agreement could be signed in the coming days. ⌘ Read more
Red tape blocks 20,000 South West homes as WA housing shortage bites
A housing precinct expected to deliver up to 20,000 homes in WA’s South West region is still yet to receive the development green light from the state government, despite the project launching a decade ago. ⌘ Read more