This makes these functions a bit more composable! Heads up @jankatins; this is a breaking change (for the better!) refs: https://github.com/wez/wezterm/issues/647