mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2025-10-07 07:22:36 +02:00
On the input prompt of compression ratio (0 to 51) it automatically enters on entering the 2nd character. No need to press 2 digits then press enter. Now you write 2 digits and the enter is pressed automatically.
This commit is contained in:
parent
8af73a9937
commit
b2de469c0e
@ -93,7 +93,7 @@ cmd compressvideo ${{
|
||||
converted_files_count=0; #notify-send variable
|
||||
|
||||
echo "Compression Rate? (default: 31, maximum: 50)";
|
||||
read compressionRate;
|
||||
read -N 2 compressionRate;
|
||||
|
||||
#If not a number (e.g. empty), give default 31 value
|
||||
if ! [[ $compressionRate =~ ^[0-5][0-9]$ ]]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user