fathom-mcp 0.5.2 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/ws-connection.js +2 -1
package/package.json
CHANGED
package/src/ws-connection.js
CHANGED
|
@@ -155,11 +155,12 @@ export function createWSConnection(config) {
|
|
|
155
155
|
const pane = resolvePaneTarget();
|
|
156
156
|
|
|
157
157
|
try {
|
|
158
|
-
// Send the text literally, then press Enter
|
|
158
|
+
// Send the text literally, pause for tmux to render, then press Enter
|
|
159
159
|
execSync(`tmux send-keys -t ${shellEscape(pane)} -l ${shellEscape(text)}`, {
|
|
160
160
|
timeout: 5000,
|
|
161
161
|
stdio: "ignore",
|
|
162
162
|
});
|
|
163
|
+
execSync("sleep 1", { timeout: 5000 });
|
|
163
164
|
execSync(`tmux send-keys -t ${shellEscape(pane)} Enter`, {
|
|
164
165
|
timeout: 5000,
|
|
165
166
|
stdio: "ignore",
|