gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

Bracketed paste not working on node < 20

Open bbiggs opened this issue 1 year ago • 3 comments

What happened?

Bracketed paste mode doesn't work on node before node's readline added support for detecting the paste start/end characters.

What did you expect to happen?

Paste should work, instead it shows blank.

Client information

macos

Login information

No response

Anything else we need to know?

No response

bbiggs avatar Jun 28 '25 19:06 bbiggs

Wonder if we should warn users on startup if their node version is bellow 20. Node 18 is out of security support and I would rather we didnt have to spend too much time making our app work with it unless a larger number of our users than I am guessing are still on it. https://endoflife.date/nodejs

jacob314 avatar Jun 28 '25 21:06 jacob314

Wonder if we should warn users on startup if their node version is bellow 20. Node 18 is out of security support and I would rather we didnt have to spend too much time making our app work with it unless a larger number of our users than I am guessing are still on it. https://endoflife.date/nodejs

That sounds like a nice idea I think most people would be on Node 20 at least, if you need assistance in making changes on the startup screen regarding this, I would be glad to help.

devpool007 avatar Jul 01 '25 11:07 devpool007

Thanks @devpool007. Filled a bug to track adding this. Would welcome your pull request to fix it!

jacob314 avatar Jul 02 '25 03:07 jacob314