Skip to content

Commit

Permalink
force window size
Browse files Browse the repository at this point in the history
  • Loading branch information
axellse committed Jul 21, 2024
1 parent 97f0715 commit 7000364
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ui/uiManagers/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ readline.emitKeypressEvents(process.stdin);
if (process.stdin.isTTY) {
process.stdin.setRawMode(true);
}
process.stdout.on('resize', () => {
process.stdout.write(`${String.fromCharCode(0o33)}[8;h;wt`.replaceAll("h", "5").replaceAll("w", "46"))
});

const startString = 1
const commandString = 4
Expand Down

0 comments on commit 7000364

Please sign in to comment.