Giter Club home page Giter Club logo

Comments (3)

chriswalz avatar chriswalz commented on May 22, 2024

What OS/Terminal/Shell are you using?

from bit.

0cv avatar 0cv commented on May 22, 2024

You're right, I didn't realize it could be related to my Terminal and/or Shell. I was using the Terminal of VSCode. I'm using also iTerm with ZSH in OSX and it works including the default Terminal.app. But it fails with the embedded terminal of Code =>

image

from bit.

zeeke avatar zeeke commented on May 22, 2024

Hi, I think I reproduced this issue also with a basic go-prompt program.

In both ways (running bit and with adoc program) I can hit the problem only if I hold DOWN arrow button.

I'm not sure it's what @0cv experienced, but the root cause is that vscode sends two DOWN characters at once in prompt.go.

Just discovered adding logs:

2022/10/08 18:59:20 b: 1b5b42    <--- good DOWN arrow 
2022/10/08 18:59:21 b: 1b5b421b5b42  <--- bad 2xDOWN arrow 

See https://github.com/c-bata/go-prompt/blob/master/input.go#L72

Going to raise an issue also to go-prompt repo.

from bit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.