function release_sticky_keys() {

        var guac = GuacUI.Client.attachedClient;
        if (!guac)
            return;

        // Release all active sticky keys
        for (var keysym in active_sticky_keys) {
            var key = active_sticky_keys[keysym];
            GuacUI.removeClass(key, "pressed");
            guac.sendKeyEvent(0, keysym);
        }

        // Reset set of active keys
        active_sticky_keys = {};

    }
Releases all currently-held sticky keys within the text input UI.