Comments (5)
Oh, hi. Very thanks for your report.
I'm sorry that I haven't make fully tests on powershell
and cmd
(due to the lacks of PC).
I will try to figure out how to deal with this in a better way :) There are 2 ways to handle this:
- fix the issue, make colorful output in
powershell
andCMD
, or - If I can hardly find a solution to colorize output in
powershell
andCMD
, we can output theraw
text by default on windows system as a temporary solution. (don't need to specify-r
argument everytime).
from hors.
I dunno if we can use a custom crate to colorize but this crate does that well: https://github.com/BurntSushi/termcolor
from hors.
I'll take a look this week, since I have both PS and CMD at hand. For now there's always the -r
option, so it's not a big issue. But since I saw the so
crate supports PS color formatting, I'm sure there's a way
from hors.
@FuSoftware You can try to make use of windows terminal which support colorize feature.
For powershell
and cmd
, I need to check for a while :-)
from hors.
Hi, Windows Powershell and CMD highlight feature should be ok for now(v0.6.8) :-) Feel free to have a look.
And please note that hors
can't highlight dart
lang, so the output will be the same to hors dart print text -r
from hors.
Related Issues (20)
- Duckduckgo engine may runs into fail sometimes.
- Unreadable colors HOT 8
- Why don't we use SO's search? HOT 4
- A bit of info on `lang-` class HOT 1
- [From reddit suggestion] available by other than cargo. HOT 4
- [From reddit suggestion] provide benchmark
- [From reddit suggestion] Visually separate the answers from the rest of the terminal output. A bit like what bat does.
- Duck Duck Go seems to have parse issues on macOS at least HOT 6
- `-a` option runs into fail....
- When parse stackoverflow page, should try to detect the class of answer node.
- A packaging action on every release should get in place HOT 1
- Make use of async feature to fire concurrent requests
- Add clear cache HOT 2
- Doesn't always highlight syntax HOT 2
- Make two level cache
- Failed with 'DuckDuckGo' and 'Google' search engines HOT 5
- cache doesn't created when running hors HOT 2
- hors will crash when the cache size is too large HOT 1
- Unable to compile 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 hors.