termux / termux-api-package

Termux package containing scripts to call functionality in Termux:API.
MIT License
1.02k stars 318 forks source link

Fixed termux-toast to allow -s (short) anywhere #60

Closed CanadaHonk closed 5 years ago

CanadaHonk commented 5 years ago

Before, -s had to be used at the very start, as it would completely overwrite the params string instead of appending. This simple fix just makes it append instead of overwrite. (I'm pretty sure this is fine and works but it might be necessary to change something else or it might have to stay like that.)