Hey there, this is kind of a follow-up to #22. It works fine for the normal git bash window, however when opening e.g. a less pager in that window, it falls back to the default 80/24 values.
I've debugged it and I think I found a bug, but I'd like your confirmation on this.
index.js
to simulate the pager without having to actually have a pager (line 60 is where we'd like to go):index.js
to execute the size function upon calling the scriptvar x = terminalSize();
console.log(x);
The index.js contains this line:
The 'ignore'
is duplicated and when I replace the second one with process.stderr
, it's working fine.
Resulting in correct window sizes:
Any opinion on this?
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too