Commit Graph

17 Commits (c96927b550bec973091b7b0a2a0f359b6ea07b9c)

Author SHA1 Message Date
sharkdp a236a9b195 Merge branch 'master' of https://github.com/tskinn/bat into tskinn-master 6 years ago
Nisheet Sinvhal 18d1a3b973 Changed italics to use-italic-text in config
Better placing of italics in help and also added long_help for it
6 years ago
Nisheet Sinvhal e90308e1f8 italics enable|disable working 6 years ago
Taylor 1a6709c2cb add line highlight 6 years ago
Michal Nazarewicz 79b960e17e Use ansi_colours package for better true-colour approximation 6 years ago
sharkdp 9316f2a758 Major refactoring and cleanup 6 years ago
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
6 years ago
Michal Nazarewicz 5c95b8803b Avoid floating point arithmetic in RGB→8-bit ANSI approximation 6 years ago
eth-p 870b3c0daf
PR #102 Followed @BrainMaestro's suggestions
Also ran cargo fmt.
6 years ago
Ethan P bdd10b8bec
Merge branch 'master' into master 6 years ago
eth-p fc160b0dcd
PR #102 Review Changes
- Reformatted code.
- Removed leftover code.
- Removed leftover comments.
- Fixed compiling on Rust 1.24.0
6 years ago
sharkdp cb7b158172 Add bold, italic and underline font styles 6 years ago
eth-p 4e4110bf50
Added line wrapping. 6 years ago
sharkdp 3fa70deaa7 Run 'cargo fmt' and enforce via Travis 6 years ago
Ezinwa Okpoechi d4553c6b38 Add color flag
Colors are disabled if the terminal is not interactive unless explicitly
set otherwise
6 years ago
sharkdp f43409f473 Fix clippy warnings 6 years ago
sharkdp 38762c34d9 Enable 8 bit color support, closes #11 6 years ago