<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Screen-Routing on 每日拍拍</title>
    <link>https://dailypypy.org/tags/screen-routing/</link>
    <description>Recent content in Screen-Routing on 每日拍拍</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-tw</language>
    <copyright>© 2026 每日拍拍</copyright>
    <lastBuildDate>Wed, 14 Oct 2026 10:04:00 +0800</lastBuildDate><atom:link href="https://dailypypy.org/tags/screen-routing/index.xml" rel="self" type="application/rss+xml" />
    <follow_challenge>
      <feedId>155076163427069952</feedId>
      <userId>154825760438254592</userId>
    </follow_challenge>
    
    
    <item>
      <title>Textual Modes 實戰：Workspace 切換、畫面生命週期與路由測試</title>
      <link>https://dailypypy.org/learn/textual-modes-screen-routing/</link>
      <pubDate>Wed, 14 Oct 2026 10:04:00 +0800</pubDate>
      
      <guid>https://dailypypy.org/learn/textual-modes-screen-routing/</guid>
      <description>&lt;!---
1440x768
prompt: masterpiece, best quality, highres, clean anime illustration, japanese anime style, soft shading, flat color design, 1girl, black hair, green eyes, white off-shoulder shirt, black short skirt, high angle medium shot, standing with hands behind her back and head tilted slightly, cheerful curious smile, looking at viewer, pastel periwinkle and butter yellow background, two subtle floating blank rounded panels arranged like separate workspaces without symbols, logos, markings, numbers, letters, or text, neat composition, detailed eyes, cute and smart vibe, minimal background, polished illustration, no text
negative prompt: worst quality, bad eye, bad hand, extra limbs, manga, multiple views, monochrome, text, signature
dedup note: Distinct follow-up to ../textual-form-wizard/, ../textual-sqlite-app/, and ../textual-testing-pilot-snapshot/. This post covers independent long-lived mode stacks, retained widget identity, mount/resume/suspend lifecycle, cross-mode domain state, allowlisted routing, and routing-specific tests; it does not rebuild sequential forms, CRUD modals, or general snapshot infrastructure. Today&#39;s planned Streamlit SQL post was already published; the next safe weekly-plan topic was selected after a 190-post current-source preflight.
---&gt;

&lt;h2 class=&#34;relative group&#34;&gt;一. 前言：切回工作台，剛才打的字呢？ 
    &lt;div id=&#34;一-前言切回工作台剛才打的字呢&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;
    
    &lt;span
        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100&#34;&gt;
        &lt;a class=&#34;group-hover:text-primary-300 dark:group-hover:text-neutral-700&#34;
            style=&#34;text-decoration-line: none !important;&#34; href=&#34;#%e4%b8%80-%e5%89%8d%e8%a8%80%e5%88%87%e5%9b%9e%e5%b7%a5%e4%bd%9c%e5%8f%b0%e5%89%9b%e6%89%8d%e6%89%93%e7%9a%84%e5%ad%97%e5%91%a2&#34; aria-label=&#34;定位點&#34;&gt;#&lt;/a&gt;
    &lt;/span&gt;        
    
&lt;/h2&gt;
&lt;p&gt;拍拍君最近遇到一種 TUI 問題：工具有工作台，也有設定頁。
在工作台打了一半備註，切去改設定，再回來，輸入框竟然清空。
不是資料庫壞掉，是程式每次換頁都重新建立 Screen。&lt;/p&gt;</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://dailypypy.org/learn/textual-modes-screen-routing/featured.png" />
    </item>
    
  </channel>
</rss>
