Add --render-fit=stretched

Add an option to fit the window without preserving the aspect ratio.
This commit is contained in:
Romain Vimont 2026-04-18 11:19:08 +02:00
parent 95d6658b4e
commit 05f2ee4fbd
6 changed files with 24 additions and 4 deletions

View file

@ -179,7 +179,7 @@ _scrcpy() {
return
;;
--render-fit)
COMPREPLY=($(compgen -W 'letterbox disabled' -- "$cur"))
COMPREPLY=($(compgen -W 'letterbox stretched disabled' -- "$cur"))
return
;;
--shortcut-mod)