Comments (12)
@pauldotknopf it's not intentional, I dont have windows :(
if you want to take care of some porting issues please do
from how2.
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.
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
from how2.
@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.
from how2.
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.
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.
@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.
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.
@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.
from how2.
@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.
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.
🎃 📜
from how2.
Related Issues (20)
- Ver depois
- Clarify npm package
- [Feature request] Any other way of installing how2 without npm? HOT 2
- [Windows] Crash after pressing space
- Explain how it works on README.md
- Sorry, I cannot find any reasonable answer for your query HOT 1
- Result title is undefined?
- error ,not connect HOT 2
- SO search completely broken (deliberately?) HOT 2
- TypeError: Cannot read property 'prototype' of undefined HOT 1
- Problem in Using! HOT 1
- Type Error: Cannot read property 'prototype' of undefined HOT 2
- Sublime or Alfred plugin?
- Error: Cannot read property 'prototype' of undefined. HOT 2
- Unexpected token function when trying to launch how2 HOT 1
- Sorry, I cannot find any reasonable answer for your query. HOT 21
- OSX problem TypeError: Cannot read property 'prototype' of undefined HOT 2
- "ETIMEDOUT" error logged to console when pressing space for more choices HOT 1
- SyntaxError: Unexpected token function HOT 4
- Query error with mongodb HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from how2.