shithub: hell

Download patch

ref: 1efff0597eb6a8cf30f47826a64686df5b62ef49
parent: 4785b9ebe78bb65d5d15928b0a6787fef75c0316
author: penny <penny@limitedideas.org>
date: Wed Nov 5 21:05:21 EST 2025

VTs can have a little window title too

--- a/readline.go
+++ b/readline.go
@@ -5,6 +5,7 @@
 import (
 	"io"
 	"os"
+	"fmt"
 
 	native "github.com/ergochat/readline"
 )
@@ -45,4 +46,5 @@
 }
 
 func (rl *readline) setWindowTitle(title string) {
+	fmt.Printf("\033]2;%s\007", title)
 }
\ No newline at end of file
--