Commit graph

850 commits

Author SHA1 Message Date
sharkdp
7b803a50af Ignore enable_ansi_support errors
- Call `enable_ansi_support` only once.
- Ignore errors that appear when trying to enable ANSI support. This
  will hopefully fix #252 and #264
2018-09-03 22:15:38 +02:00
sharkdp
67ec5fe2b7 Add OneHalf themes, closes #256 2018-09-03 22:12:41 +02:00
sharkdp
3447ed4def Add CSV syntax, closes #254 2018-09-03 21:49:26 +02:00
David Peter
532fb921a6
Update README.md 2018-09-01 00:59:30 +02:00
sharkdp
ba4d5a2e7d Bump version number 2018-09-01 00:30:43 +02:00
sharkdp
026273a05c Enable ANSI support on Windows 2018-09-01 00:23:15 +02:00
sharkdp
8903b64830 Fix for Rust 1.26 2018-08-31 23:57:27 +02:00
sharkdp
194155f062 Fix relative-path computation for Windows 2018-08-31 23:57:27 +02:00
sharkdp
a6ff3b900d Fix terminal width to 80 characters in tests 2018-08-31 23:57:27 +02:00
sharkdp
8a52bcf92d Add hidden --terminal-width option 2018-08-31 23:57:27 +02:00
sharkdp
0b1535f63b Split snapshot tests into individual tests 2018-08-31 23:57:27 +02:00
sharkdp
0a5b3eaf3e Re-enable tests on windows 2018-08-31 23:57:27 +02:00
sharkdp
11294249f8 Add new key for AppVeyor 2018-08-31 23:57:27 +02:00
anykao
35a1236ad0 Update tests.rs 2018-08-31 23:57:27 +02:00
anykao
af8da50c2c Update appveyor.yml 2018-08-31 23:57:27 +02:00
anykao
649d1e3df2 Update appveyor.yml 2018-08-31 23:57:27 +02:00
anykao
199cfd4519 Update appveyor.yml 2018-08-31 23:57:27 +02:00
David Peter
c7cce0752b Add AppVeyor badge 2018-08-31 23:57:27 +02:00
anykao
3a89486189 Create before_deploy.ps1 2018-08-31 23:57:27 +02:00
anykao
720a2fb7a5 Create appveyor.yml 2018-08-31 23:57:27 +02:00
sharkdp
e3c990f11e Respect color settings for list-themes and list-languages 2018-08-31 21:57:18 +02:00
sharkdp
90c7d0c365 Use stdout locks 2018-08-31 21:48:26 +02:00
mchlrhw
56002267d2 Fix panic when running bat --list-languages | head
Fixes: https://github.com/sharkdp/bat/issues/232
2018-08-31 21:43:49 +02:00
David Peter
84734eac9d
Update alternatives.md 2018-08-31 00:39:26 +02:00
sharkdp
acdea97e71 Add --plain 2018-08-28 23:37:49 +02:00
sharkdp
839e4ee611 Bump version 2018-08-28 23:21:35 +02:00
sharkdp
c7afcdebf8 Move theme_preview file to constant 2018-08-28 22:16:42 +02:00
sharkdp
08e6db1581 Add Troubleshooting section
see #220
2018-08-28 22:08:34 +02:00
sharkdp
4d08ecd828 Fix headline levels 2018-08-28 21:04:41 +02:00
sharkdp
28e1d0e613 Add development section to README 2018-08-28 21:03:03 +02:00
sharkdp
d11839ad03 Update install instructions 2018-08-28 20:55:15 +02:00
sharkdp
8cacd9b432 Include theme_preview file in binary 2018-08-28 20:24:13 +02:00
sharkdp
6f67444c99 Run cargo fmt 2018-08-28 20:24:13 +02:00
sharkdp
fd2b376ea0 Small style changes to --list-themes 2018-08-28 20:24:13 +02:00
sharkdp
cda54e4f61 Fix build for Rust 1.26 2018-08-28 20:24:13 +02:00
ms2300
3b90ada735 Mutation done correctly 2018-08-28 20:24:13 +02:00
ms2300
1837d364fe Added bold to theme titles 2018-08-28 20:24:13 +02:00
ms2300
4ea3e6bbb7 Changed preview code 2018-08-28 20:24:13 +02:00
ms2300
38544ed735 Changed to plain style 2018-08-28 20:24:13 +02:00
ms2300
5444b0dfed Fixes mut issue 2018-08-28 20:24:13 +02:00
ms2300
f3dde0185d Modifying changing config for efficiency 2018-08-28 20:24:13 +02:00
ms2300
2e3784aa30 #213 : output hello world for each theme when --list-theme is flagged 2018-08-28 20:24:13 +02:00
sharkdp
1088455702 Add syntaxes for Elm, Kotlin, Puppet, TypeScript
closes #215
closes #216
closes #217
closes #218
2018-08-28 19:36:31 +02:00
Colin Dean
4f812c32ab Adds zenburn theme submodule
Work towards #224 but @sharkdp is going to rebuild themes.bin
2018-08-28 07:37:27 +02:00
sharkdp
b6c59a5bd4 Add man page to releases 2018-08-27 23:10:14 +02:00
sharkdp
b682679776 Add initial version of man page, see #52 2018-08-27 22:57:47 +02:00
ms2300
81771432fb #212 : added -p as an alias for --style=plain 2018-08-27 17:56:50 +02:00
sharkdp
627181bcb6 Always call the syntax highlighter 2018-08-23 23:35:57 +02:00
sharkdp
226d9a573a Add simple loop-through mode
Use a loop-through mode that simply copies input to output if a
non-interactive terminal is detected.

see #150
2018-08-23 23:13:24 +02:00
sharkdp
246cf79dbd Split into Controller and Printer 2018-08-23 22:37:27 +02:00