Acode icon indicating copy to clipboard operation
Acode copied to clipboard

'clear' command on terminal doesn't work properly

Open Victozee26 opened this issue 5 months ago • 3 comments

Check for existing issues

  • [x] Completed

Describe the bug / provide steps to reproduce it

https://github.com/user-attachments/assets/d4093e76-9eaa-4232-94a7-f5dec131177f

Environment

Device Information: WebView Info: Package Name: com.google.android.webview Version: 148.0.7778.215

App Info: Name: Acode Package Name: com.foxdebug.acodefree Version: 1.12.2 Version Code: 972

Device Info: Android Version: 14 Manufacturer: TECNO Model: TECNO KL4 Platform: Android Cordova Version: 15.0.0

Screen Info: Width: 400 Height: 889 Color Depth: 24

Additional Info: Language: en-NG User Agent: Mozilla/5.0 (Linux; Android 14; TECNO KL4 Build/UP1A.231005.007; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/148.0.7778.215 Mobile Safari/537.36

If applicable, add mockups / screenshots regarding your vision

Null

If applicable, attach your Acode.log file to this issue.

Acode.log

Victozee26 avatar Jun 11 '26 08:06 Victozee26

if u need more info am here 🙏

thanks for Acode 🙏

Victozee26 avatar Jun 11 '26 08:06 Victozee26

This is a expected behaviour of 'clear' on standard Linux systems, you should use 'reset' command if you want the termux like behaviour

If you want termux like behaviour you can do it by running this command:

echo "alias clear='reset'" >> /home/.bashrc

RohitKushvaha01 avatar Jun 11 '26 09:06 RohitKushvaha01

please it should be added in initrc

and load .bashrc at the button of initrc

Victozee26 avatar Jun 11 '26 09:06 Victozee26