<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Terminal on Prasenjeet Dutta</title><link>https://pdutta.net/tags/terminal/</link><description>Recent content in Terminal on Prasenjeet Dutta</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2026 Prasenjeet Dutta</copyright><lastBuildDate>Tue, 17 Nov 2026 00:03:00 +0000</lastBuildDate><atom:link href="https://pdutta.net/tags/terminal/index.xml" rel="self" type="application/rss+xml"/><item><title>Building a tiny text editor in Go, part 2: the simplest undo</title><link>https://pdutta.net/posts/ted-part-2-simplest-undo/</link><pubDate>Tue, 17 Nov 2026 00:03:00 +0000</pubDate><guid>https://pdutta.net/posts/ted-part-2-simplest-undo/</guid><description>&lt;p&gt;Undo sounds mysterious until we choose a deliberately unsophisticated answer:&#10;before every edit, copy the document. To undo, replace the current document&#10;with the most recent copy. It isn&amp;rsquo;t efficient, but it is easy to&#10;understand. That makes it a good first step.&lt;/p&gt;</description></item><item><title>Building a tiny text editor in Go, part 1: the loop</title><link>https://pdutta.net/posts/ted-part-1-the-loop/</link><pubDate>Mon, 16 Nov 2026 00:00:00 +0000</pubDate><guid>https://pdutta.net/posts/ted-part-1-the-loop/</guid><description>&lt;p&gt;Text editors look large because mature editors accumulate decades of features.&#10;The irreducible core is much smaller: wait for a key, change some text, and&#10;draw the result. In this series we will build that core and call it &lt;code&gt;ted&lt;/code&gt;&amp;ndash;&#10;the tiny editor.&lt;/p&gt;</description></item></channel></rss>