Michal Nazarewicz
79b960e17e
Use ansi_colours package for better true-colour approximation
2018-09-23 10:19:19 +02:00
sharkdp
9316f2a758
Major refactoring and cleanup
2018-08-22 22:29:12 +02:00
sharkdp
2508323264
Extract grid and line-number color from theme
...
This changes the output color of the grid and the line numbers to use
the "gutter" foreground color defined in the Sublime `.tmTheme` files.
Sublime Text does the same.
Note: we could go one step further and also extract the "GitGutter"
colors from the themes. These could be used instead of red/green/yellow
to signify Git modifications. The problem is that they are quite a bit
harder to extract from the syntect `Theme` object.
closes #178
2018-08-19 12:32:35 +02:00
Michal Nazarewicz
5c95b8803b
Avoid floating point arithmetic in RGB→8-bit ANSI approximation
2018-08-18 20:58:03 +02:00
eth-p
870b3c0daf
PR #102 Followed @BrainMaestro's suggestions
...
Also ran cargo fmt.
2018-05-13 03:26:23 -07:00
Ethan P
bdd10b8bec
Merge branch 'master' into master
2018-05-12 06:40:47 -07:00
eth-p
fc160b0dcd
PR #102 Review Changes
...
- Reformatted code.
- Removed leftover code.
- Removed leftover comments.
- Fixed compiling on Rust 1.24.0
2018-05-12 06:32:23 -07:00
sharkdp
cb7b158172
Add bold, italic and underline font styles
2018-05-12 13:23:39 +02:00
eth-p
4e4110bf50
Added line wrapping.
2018-05-11 21:59:26 -07:00
sharkdp
3fa70deaa7
Run 'cargo fmt' and enforce via Travis
2018-05-06 15:10:46 +02:00
Ezinwa Okpoechi
d4553c6b38
Add color flag
...
Colors are disabled if the terminal is not interactive unless explicitly
set otherwise
2018-05-06 14:47:53 +02:00
sharkdp
f43409f473
Fix clippy warnings
2018-04-26 07:59:22 +02:00
sharkdp
38762c34d9
Enable 8 bit color support, closes #11
2018-04-23 23:56:47 +02:00