---
title: "We always get distracted IMMEDIATELY"
url: https://daily.dev/posts/we-always-get-distracted-immediately-54co7sd9w
source_url: https://www.youtube.com/watch?v=wtT3xZIC490
type: video:youtube
source: "sphaerophoria"
published: 2026-06-07T23:05:07.109Z
updated: 2026-06-07T23:30:56.176Z
tags: ["rust"]
reading_time: 118
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# We always get distracted IMMEDIATELY

**[sphaerophoria](https://daily.dev/sources/sphaerophoria)** · 118 min read · 0 upvotes · 0 comments

## Summary

A live coding session building a custom GUI framework from scratch, focusing on fixing a cursor alignment bug caused by space characters lacking glyph bounding boxes in the custom text layout engine. The session dives deep into TTF/OpenType font internals including glyph metrics, baselines, ascenders/descenders, and the BASE table. After fixing the space bug, the developer refactors keyboard input handling to separate character code points from key events, then implements a keymapper abstraction and adds Ctrl+A select-all and Ctrl+Backspace delete-word functionality to the textbox widget.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=wtT3xZIC490>

---

Tags: [#rust](https://daily.dev/tags/rust)

[View this post on daily.dev](https://daily.dev/posts/we-always-get-distracted-immediately-54co7sd9w)
