mirror of
https://github.com/eth-p/bat-extras.git
synced 2024-12-12 09:10:45 +01:00
Add executable shim for tput to ensure consistent size
This commit is contained in:
parent
f7200c7086
commit
531dcd6c19
1
test.sh
1
test.sh
@ -15,6 +15,7 @@ cd "$HERE"
|
||||
export TEST_ENV_LIB="${HERE}/lib"
|
||||
export TEST_ENV_BIN_DIR="${HERE}/src"
|
||||
export TEST_ENV_BIN_SUFFIX=".sh"
|
||||
export TEST_ENV_PATH="${HERE}/test/shimexec:${PATH}"
|
||||
export TEST_DIR="${HERE}/test/suite"
|
||||
export TEST_PWD="${HERE}/test/data"
|
||||
export TEST_SHIM_PATH="${HERE}/test/shim"
|
||||
|
4
test/shimexec/tput
Executable file
4
test/shimexec/tput
Executable file
@ -0,0 +1,4 @@
|
||||
case "$1" in
|
||||
cols) echo 80 ;;
|
||||
lines) echo 22 ;;
|
||||
esac
|
Loading…
Reference in New Issue
Block a user