Skip to content

Commit 7b6b459

Browse files
committed
docs: Fix typos and organize links
1 parent e0cec14 commit 7b6b459

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Bash library for terminal escape sequences
44

55
## Summary
66

7-
This library was created to be a _fast_ alternative to `tput`. It includes a `btput` function to emulate the most common features of `tput` (without exec overhead). It also sports a more intuitive interface with names like `term.erase_line`, etc.
7+
Includes standard ANSI escape sequences and a blazing-fast `tput` called `btput`. The latter is a WIP
88

99
## Installation
1010

@@ -14,12 +14,14 @@ Use [Basalt](https://github.com/hyperupcall/basalt), a Bash package manager, to
1414
basalt add hyperupcall/bash-term
1515
```
1616

17-
## Awknowledgements
17+
## Acknowledgements
1818

19-
- Function docstring descriptions were taken from [justjavac/deno_ansi](https://github.com/justjavac/deno_ansi)
19+
- [justjavac/deno_ansi](https://github.com/justjavac/deno_ansi)
2020

2121
## References
2222

2323
- [vtasni.html](https://www2.ccs.neu.edu/research/gpc/VonaUtils/vona/terminal/vtansi.htm)
24-
- [asnci-escapes](https://github.com/sindresorhus/ansi-escapes/blob/main/index.js)
24+
- [ansi-escapes](https://github.com/sindresorhus/ansi-escapes/blob/main/index.js)
2525
- [ANSIcode.html](https://www.real-world-systems.com/docs/ANSIcode.html)
26+
- [terminalcodes](https://wiki.bash-hackers.org/scripting/terminalcodes)
27+
- [StackOverflow/20983251](https://stackoverflow.com/a/20983251)

pkg/src/public/btput.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
# shellcheck shell=bash
22

3-
# TODO
4-
# https://wiki.bash-hackers.org/scripting/terminalcodes
5-
# https://stackoverflow.com/a/20983251
6-
73
btput() {
8-
unset REPLY
4+
unset -v REPLY
95

106
case $1 in
117
# controlling cursor

0 commit comments

Comments
 (0)