TUI-ConsoleLauncher icon indicating copy to clipboard operation
TUI-ConsoleLauncher copied to clipboard

clear terminal

Open igotapochahontas opened this issue 4 years ago • 2 comments

The "clear" command does not work from inside a shell script. I am making a slow ascii cartoon by using sh to load the frames and display them, but clear only clear the screen when I type it. It doesn't work from inside a shell. Anybody know a workaround for now?

igotapochahontas avatar Oct 12 '20 01:10 igotapochahontas

probably clear is a t-ui command, not an android shell command, so it will not run inside a sh script. In my configuration i use clear;cat file.txt on double tab to clear the screen and display an android ascii art

Sbatushe avatar Nov 20 '20 17:11 Sbatushe

Nice. Good idea. Then save that as an alias? I didn't know tui could seperate commands with an ";"

igotapochahontas avatar Nov 23 '20 03:11 igotapochahontas