 }
 
 ClickFunction:
+    if (g_UseDisplay)
+    {
+        return
+    }
+
     index := getMouseCurrentLine()
+    if (index < 0)
+    {
+        return
+    }
+
     if (g_CurrentCommandList[index] != "")
     {
         ChangeCommand(index - 1, true)

    result := StrReplace(result, "function | ", "功能 | ")
    result := StrReplace(result, "cmd | ", "命令 | ")

    DisplayResult(result)
return

@(label, info, fallback = false, key = "")

    MouseGetPos, , mouseY, , classnn,
    if (classnn != g_OutputArea)
    {
        return -1
    }

    ControlGetPos, , y, , h, %g_OutputArea%
