mirror of
https://github.com/stablyai/orca.git
synced 2026-10-02 16:02:15 +00:00
test: repaint golden agent when terminal grid changes
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user