update manuscript

This commit is contained in:
Dylan Araps
2018-06-20 16:00:33 +10:00
parent 393a288242
commit d2c42689d8
18 changed files with 43 additions and 52 deletions

View File

@@ -1,6 +1,6 @@
# Escape Sequences
# ESCAPE SEQUENCES
Contrary to popular belief, there's no issue in using raw escape sequences. Using `tput` just abstracts the same ANSI escape sequences. What's worse is that `tput` isn't actually portable, there are a number of different `tput` variants on different Operating Systems each with different commands (*try and run `tput setaf 3` on a FreeBSD system*). The easiest solution ends up being raw ANSI sequences.
Contrary to popular belief, there is no issue in utilizing raw escape sequences. Using `tput` abstracts the same ANSI sequences as if printed manually. Worse still, `tput` is not actually portable. There are a number of `tput` variants each with different commands and syntaxes (*try `tput setaf 3` on a FreeBSD system*). Raw sequences are fine.
## Text Colors