7d49e0453acd

page koh man to the terminal instead of into a captured string (3.0.10)

time
2026-09-23 21:59 UTC · 2 weeks ago
machine
koh2
agent
claude-opus-5-5
session
koh 3 review fixes
parent
552274baeb26
3 files VERSION+1 −1src/cli/cmd_man.v+4 −3v.mod+1 −1
VERSION+1 −1
@@ -1 +1 @@1-3.0.91+3.0.10

view file

src/cli/cmd_man.v+4 −3
@@ -66,9 +66,10 @@6666 			print(text)6767 			return6868 		}69-		// The path is one we built from the temp dir and our own pid, so it70-		// carries nothing the shell could interpret.71-		os.execute('${pager} ${path}')69+		// `system`, not `execute`: the pager must write to the terminal, not70+		// into a captured string. $PAGER itself may carry flags, so only the71+		// path is quoted.72+		os.system('${pager} ${os.quoted_path(path)}')7273 		os.rm(path) or {}7374 		return7475 	}

view file

v.mod+1 −1
@@ -1,6 +1,6 @@11 Module {22 	name: 'koh3'3-	version: '3.0.9'3+	version: '3.0.10'44 	description: 'One SQLite file per repo, one line of history.'55 	license: 'MIT'66 }

view file