test: repaint golden agent when terminal grid changes

This commit is contained in:
Neil
2026-09-05 16:32:46 -07:00
parent d44c3d365b
commit 06fe718b81
@@ -119,5 +119,8 @@ for (const signal of ['SIGINT', 'SIGTERM', 'SIGHUP']) {
process.on(signal, exitCleanly)
}
// Repaint when a restored terminal fits to a different grid.
process.stdout.on('resize', render)
process.stdout.write('\x1b[?1049h')
render()