You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When pasting large blocks of code in the webrepl browser window to the ESP8266 , the code is truncated to about 256 bytes due to the buffer size on the ESP8266. After living with the limitation I finally got around to trying to fix this problem. I made the following changes to webrepl.js and now the browser side inserts a 100 ms gap between chunks of 250 byte of pasted data, so all pasted data gets through. The gap can be adjusted if 100 ms is insufficient for some devices (100 ms appears for work for the ESP01 I have tried it on).
When pasting large blocks of code in the webrepl browser window to the ESP8266 , the code is truncated to about 256 bytes due to the buffer size on the ESP8266. After living with the limitation I finally got around to trying to fix this problem. I made the following changes to webrepl.js and now the browser side inserts a 100 ms gap between chunks of 250 byte of pasted data, so all pasted data gets through. The gap can be adjusted if 100 ms is insufficient for some devices (100 ms appears for work for the ESP01 I have tried it on).
delay_on_paste.md
The text was updated successfully, but these errors were encountered: