Closed pauldotknopf closed 2 months ago
I've run it on windows 10 from cmd and powershell, you have to use return after pressen SPACE though.
Or is there any other issue that i simply didn't encountered?
Hi, works fine for me in "cmd" but when i try in cmder it looks like so
thanks for this usefull tool! i like it
@cannap the issue here is that the unicode range is not sufficent or a offset is shifted.
either way its a problem with https://github.com/chjj/blessed or directly related to cmder i fiddled with the font settings and got it to display the characters right.
Another windows issue is that by default searches go to
site = 'site:unix.stackexchange.com';
When running on windows, perhaps it's better to search
superuser.com
can use this to determine the OS: var isWin = /^win/.test(process.platform);
I think that require('os').type()
might return a more standard value that will not require a regexp. (but this should be tested and I don't have a windows machine around).
@danyshaanan from the 'os' module's docs: os.platform() Returns the operating system platform. Possible values are 'darwin', 'freebsd', 'linux', 'sunos' or 'win32'. Returns the value of process.platform. the regex is just to avoid checking for both win32 and win64.
Would just like to comment that MINGW64 also throws an error:
TypeError: process.stdin.setRawMode is not a function
as mentioned above. Although it works just fine in Windows PowerShell
@Hammster Could you go into more detail as to what font settings you changed in Cmder to fix the font issues? I'm having this problem now.
@zQueal i really just clicked through everything. The quick solution is to reset the settings and save them, then restart the program. I try to find the values i changed to get a more precise answer.
Almost works in Gnome Terminal 3.18 running on latest Cyg/X x64 (Windows 7). First result is retrieved as expected, then I also get TypeError: process.stdin.setRawMode is not a function
. I'm not so hung up on terminal magic (colors etc.) but the list of results would be nice to have. Thx, btw. This has really nice features compared to e.g. howdoi
:jack_o_lantern: :scroll:
@pauldotknopf it's not intentional, I dont have windows :( if you want to take care of some porting issues please do