fix: previous recording should be stopped

This commit is contained in:
Klesh Wong 2022-08-23 16:26:00 +08:00
parent e72e6967b0
commit 48b8031d97

1
bin/sc
View File

@ -99,6 +99,7 @@ end
set --append subcmds window
set window_help '[fps=5]' 'record clicked window'
function window -a fps
_stop
test -z $fps && set fps 5
set wininfo (xwininfo)
for line in $wininfo