Urgent.News

What's breaking now, across thousands of outlets.

Tech

Live TUIs: bringing the AJAX experience to terminal apps

What should we call a terminal app where one pane can refresh while you keep working in another? I'm proposing "Live TUI." The pattern is a persistent terminal workspace. Panes stream data and update independently. A task shows its own loading or progress state, so waiting on that task does not block the whole interface. AJAX is the analogy I keep coming back to: partial updates that leave the…

The concept of Live TUIs aims to bring the smooth AJAX experience to terminal applications. A Live TUI is a persistent terminal workspace where multiple panes can refresh independently, allowing users to work in one pane while another pane streams data and updates without blocking the entire interface. This approach is similar to how AJAX partial updates enable users to continue working even when a request is still in flight.

The hqtui-demo is an example of a Live TUI, showcasing the combination of live state, independent pane updates, and local progress indicators. The term "Live TUI" is proposed to describe this experience, emphasizing that a busy pane should display its own status while the rest of the workspace remains usable. However, the proposal acknowledges that individual components of this concept have existed in responsive terminal applications for a long time, and there is no claim to inventing asynchronous terminal interfaces.

For designers of terminal user interfaces, the term "Live TUI" could convey a practical expectation that a busy pane should show its own status while the rest of the workspace stays functional. The example of the hqtui.com application demonstrates this concept in action.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

More from Tuesday 15 September →