Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfram77 committed Sep 22, 2018
1 parent cfad5bc commit ddcf11d
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,37 @@ Get or set Cursor color in Windows Console.

```batch
> ocolor [[+|-]<foreground color>] [[+|-]<background color>]
> ecolor [[+|-]<foreground color>] [[+|-]<background color>]
:: [] -> optional argument
:: <> -> argument value
```

```batch
:: get current cursor color as "<foreground color> <background color>"
> ocolor
> ecolor
:: set cursor foreground color to 1
> ocolor 1
> ecolor 1
:: set cursor foreground color to darkgray
> ocolor darkgray
> ecolor darkgray
:: set cursor color to default
> ocolor 7 0
> ecolor 7 0
:: set cursor color to foreground=14, background=5
> ocolor 14 5
> ecolor 14 5
:: set cursor color to foreground=yellow, background=darkcyan
> ocolor yellow darkcyan
> ecolor yellow darkcyan
:: update cursor foreground color to next color
> ocolor +1
> ecolor +1
:: update cursor background color to next color
> ocolor +0 +1
> ecolor +0 +1
```


[![Merferry](https://i.imgur.com/2T3H86Y.jpg)](https://merferry.github.io)

0 comments on commit ddcf11d

Please sign in to comment.