[Vx Ace] Yanfly Combat Log - Button Toggle

Howdy!

I was wondering if someone could help me with a treak to Yanfly's Combat Log script?

By default, the expanded combat log can be accessed via a command in the battle menu. Would it be possible to change this to instead be accessed by pressing the shift key?
Try this

Code:
class Scene_Battle
  alias update_combatadik update
  def update
    update_combatadik
    if Input.trigger?(:A) #Shift Key
      if @combatlog_window.visible #not sure if it has ? or not
        @combatlog_window.hide
      else
        @combatlog_window.show
      end
    end
  end
end

Original thread: https://forums.rpgmakerweb.com/threads/vx-ace-yanfly-combat-log-button-toggle.114492/