Last 12 weeks · 0 commits
4 of 6 standards met
So trying to fix this issue I found that in this line of stops the execution: Reproduce With the binary, execute a script: And executing like this: This doesn't happen when you don't run the process in the background (so, without the last ): This could be an error in or in the binary, I have no clue.
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. STR 1. Comment out the following in the to simulate the pager without having to actually have a pager (line 60 is where we'd like to go): !grafik 2. Temporarily add the following to the bottom of the to execute the size function upon calling the script 3. Execute the in a Git Bash and see that it's not returning the correct window size. !grafik Possible Solution The index.js contains this line: !grafik The is duplicated and when I replace the second one with , it's working fine. !grafik Resulting in correct window sizes: !grafik Any opinion on this?
Repository: sindresorhus/terminal-size. Description: Reliably get the terminal window size Stars: 147, Forks: 16. Primary language: JavaScript. Languages: JavaScript (96.8%), TypeScript (3.2%). License: MIT. Latest release: v4.0.1 (5mo ago). Open PRs: 0, open issues: 1. Last activity: 5mo ago. Community health: 85%. Top contributors: sindresorhus, brandon93s, coreyfarrell, BendingBender, fabiospampinato, ianobermiller, Richienb, rvagg, shinnn, styfle and others.