make window resizing commands repeatable