Git Product home page Git Product logo

Comments (12)

santinic avatar santinic commented on July 20, 2024

@pauldotknopf it's not intentional, I dont have windows :(
if you want to take care of some porting issues please do

from how2.

Hammster avatar Hammster commented on July 20, 2024

I've run it on windows 10 from cmd and powershell, you have to use return after pressen SPACE though.

  • CMD seams ok
  • Powershell is missing the control info bar at the bottom.
  • Msys2 has a problem with process.stdin.setRawMode(true) also some issues on returning the main function when the spacebar is pressed.

Or is there any other issue that i simply didn't encountered?

from how2.

cannap avatar cannap commented on July 20, 2024

Hi, works fine for me in "cmd" but when i try in cmder it looks like so
49adf5ac21f274fda0f92bda1528ab4e

thanks for this usefull tool! i like it

from how2.

Hammster avatar Hammster commented on July 20, 2024

@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.

unbenannt

from how2.

danielkop avatar danielkop commented on July 20, 2024

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);

from how2.

danyshaanan avatar danyshaanan commented on July 20, 2024

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).

from how2.

danielkop avatar danielkop commented on July 20, 2024

@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.

from how2.

Kachilero avatar Kachilero commented on July 20, 2024

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

from how2.

zQueal avatar zQueal commented on July 20, 2024

@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.

9zzhaxk

from how2.

Hammster avatar Hammster commented on July 20, 2024

@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.

from how2.

tildebyte avatar tildebyte commented on July 20, 2024

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

from how2.

dubiouscript avatar dubiouscript commented on July 20, 2024

🎃 📜

from how2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.