Closed HusniMuhammad closed 1 year ago
Problem description
Output color highlighting error
Bash file saved in widget .shortcuts/splitaudio.sh that file contains following script
.shortcuts/splitaudio.sh
echo -e "\e[38;05;14m split audio into 30min parts \033[0m" #for prevent immediate closing read a
But works in directly in termux app
bash .shortcuts/splitaudio.sh
Steps to reproduce
Expected behavior
Color highlighting
Additional information
APP_NAME: Termux PACKAGE_NAME: com.termux VERSION_NAME: 0.118.0 VERSION_CODE: 118 TARGET_SDK: 28 IS_DEBUGGABLE_BUILD: true APK_RELEASE: Github SIGNING_CERTIFICATE_SHA256_DIGEST: B6DA01480EEFD5FBF2CD3771B8D1021EC791304BDD6C4BF41D3FAABAD48EE5E1
Termux
com.termux
0.118.0
118
28
true
Github
B6DA01480EEFD5FBF2CD3771B8D1021EC791304BDD6C4BF41D3FAABAD48EE5E1
APP_NAME: Termux:API PACKAGE_NAME: com.termux.api VERSION_NAME: 0.50.1 VERSION_CODE: 51 TARGET_SDK: 28 IS_DEBUGGABLE_BUILD: true APK_RELEASE: Github SIGNING_CERTIFICATE_SHA256_DIGEST: B6DA01480EEFD5FBF2CD3771B8D1021EC791304BDD6C4BF41D3FAABAD48EE5E1
Termux:API
com.termux.api
0.50.1
51
APP_NAME: Termux:Widget PACKAGE_NAME: com.termux.widget VERSION_NAME: 0.13.0 VERSION_CODE: 13 TARGET_SDK: 28 IS_DEBUGGABLE_BUILD: true APK_RELEASE: Github SIGNING_CERTIFICATE_SHA256_DIGEST: B6DA01480EEFD5FBF2CD3771B8D1021EC791304BDD6C4BF41D3FAABAD48EE5E1
Termux:Widget
com.termux.widget
0.13.0
13
OS_VERSION: 4.14.193+-ab453 SDK_INT: 30 RELEASE: 11 ID: RP1A.201005.001 DISPLAY: RMX3231_11.A.119 INCREMENTAL: 453 SECURITY_PATCH: 2023-10-05 IS_DEBUGGABLE: 0 IS_TREBLE_ENABLED: true TYPE: user TAGS: release-keys
4.14.193+-ab453
30
11
RP1A.201005.001
RMX3231_11.A.119
453
2023-10-05
0
user
release-keys
MANUFACTURER: realme BRAND: realme MODEL: RMX3231 PRODUCT: RMX3231 BOARD: RMX3231 HARDWARE: RMX3231 DEVICE: RMX3231 SUPPORTED_ABIS: armeabi-v7a, armeabi
realme
RMX3231
armeabi-v7a, armeabi
Because script don't have shebang So add this command/script at the beginning
#!/bin/bash
Or
termux-fix-shebang $PREFIX/bin/bash
Problem description
Output color highlighting error
Bash file saved in widget
.shortcuts/splitaudio.sh
that file contains following scriptBut works in directly in termux app
Steps to reproduce
Expected behavior
Color highlighting
Additional information
Termux App Info
APP_NAME:
Termux
PACKAGE_NAME:
com.termux
VERSION_NAME:
0.118.0
VERSION_CODE:
118
TARGET_SDK:
28
IS_DEBUGGABLE_BUILD:
true
APK_RELEASE:
Github
SIGNING_CERTIFICATE_SHA256_DIGEST:
B6DA01480EEFD5FBF2CD3771B8D1021EC791304BDD6C4BF41D3FAABAD48EE5E1
Termux:API App Info
APP_NAME:
Termux:API
PACKAGE_NAME:
com.termux.api
VERSION_NAME:
0.50.1
VERSION_CODE:
51
TARGET_SDK:
28
IS_DEBUGGABLE_BUILD:
true
APK_RELEASE:
Github
SIGNING_CERTIFICATE_SHA256_DIGEST:
B6DA01480EEFD5FBF2CD3771B8D1021EC791304BDD6C4BF41D3FAABAD48EE5E1
Termux:Widget App Info
APP_NAME:
Termux:Widget
PACKAGE_NAME:
com.termux.widget
VERSION_NAME:
0.13.0
VERSION_CODE:
13
TARGET_SDK:
28
IS_DEBUGGABLE_BUILD:
true
APK_RELEASE:
Github
SIGNING_CERTIFICATE_SHA256_DIGEST:
B6DA01480EEFD5FBF2CD3771B8D1021EC791304BDD6C4BF41D3FAABAD48EE5E1
Device Info
Software
OS_VERSION:
4.14.193+-ab453
SDK_INT:
30
RELEASE:
11
ID:
RP1A.201005.001
DISPLAY:
RMX3231_11.A.119
INCREMENTAL:
453
SECURITY_PATCH:
2023-10-05
IS_DEBUGGABLE:
0
IS_TREBLE_ENABLED:
true
TYPE:
user
TAGS:
release-keys
Hardware
MANUFACTURER:
realme
BRAND:
realme
MODEL:
RMX3231
PRODUCT:
RMX3231
BOARD:
RMX3231
HARDWARE:
RMX3231
DEVICE:
RMX3231
SUPPORTED_ABIS:
armeabi-v7a, armeabi