User Details
- User Since
- Sep 18 2015, 8:57 PM (478 w, 4 d)
- Availability
- Available
Sep 29 2015
Anything done on this? I'd like to request a pull to work on this.
I am referring to @matthijsmvs feature request:
I forgot about that. The Windows
mode
command will return the words such as "Columns" per the locale of Windows. So looking for literally "Columns" will only work for the English Windows locales.
Sep 28 2015
"I see" said the blind man as he tripped over his code.
+1 vote from me to comment the use of regular expressions (how can anything that looks like this "'/CON.*:(\n[^|]+?){3}(?<cols>\d+)/" be called regular?)
Sep 21 2015
Here is the code snippet for Unix/Linux:
In the code the unix Command tput cols is used. All this really does is look at the $TERM environment variable and infers the column count from that. On my Mint 17.2 this is 'xterm' and the tput cols command always returns 80 (which is the default column width for xterm).
Sep 19 2015
Thanks for the response. I have similar concerns about security and using Composer in my own personal projects.
Perhaps similar logic to bower could be leveraged (which I think is more security conscious).
I'd hate to have to reinvent the wheel for library dependencies.
Sep 18 2015
Forgive my ignorance, but isn't this what Composer does?