diff --git a/HellionChat/GameFunctions/Chat.cs b/HellionChat/GameFunctions/Chat.cs index 10390d1..5a2f542 100755 --- a/HellionChat/GameFunctions/Chat.cs +++ b/HellionChat/GameFunctions/Chat.cs @@ -248,9 +248,13 @@ internal sealed unsafe class Chat : IDisposable addIfNotPresent = add; } - // Chat-window Activated integration is offline until the new chat - // layer surfaces an Activated entry point. - _ = addIfNotPresent; + // Route the addIfNotPresent token into the InputBar so inventory + // right-click "Link item" reaches our input field instead of being lost. + if (addIfNotPresent != null && !Plugin.InputBar.PendingMessage.Contains(addIfNotPresent)) + { + Plugin.InputBar.AppendPending(addIfNotPresent); + Plugin.InputBar.Activate = true; + } return 1; // Prevent vanilla chat log from gaining focus }