Giter VIP home page Giter VIP logo

Comments (6)

AmmarAbouZor avatar AmmarAbouZor commented on May 31, 2024 1

This looks like a problem with the input text box on windows... I'll need more infos to get closer to the problem

  • Does this problem appear in different input fields in the same app, like the tags input box or the built-in Editor?
  • Which Version of the app are you currently using?
  • Have you compiled it on your machine or did you use the pre-compiled binary from the release page?

Unfortunately I don't have access to a windows machine currently so I can't reproduce it locally, but we can narrow it down and see where the problem lies

from tui-journal.

itbaby avatar itbaby commented on May 31, 2024 1

Hi @AmmarAbouZor it works. thanks for you do the changes.

from tui-journal.

itbaby avatar itbaby commented on May 31, 2024

Hi AmmarAbouZor ,

all the typing will trigger twice, when I use shortkey also trigger twice. so it could be TUI framework hook issue ?

  • Does this problem appear in different input fields in the same app, like the tags input box or the built-in Editor?
    Yes, it always repeating in tags field.

  • Which Version of the app are you currently using?
    I used last 3 versions. all of them don't works well.

  • Have you compiled it on your machine or did you use the pre-compiled binary from the release page?
    I used the pre-comiled version.

meanwhile thanks so much your feedback.

from tui-journal.

AmmarAbouZor avatar AmmarAbouZor commented on May 31, 2024

I've tested it on windows machine. It seems to be a problem with crossterm crate and how they accept the input stream on windows. I'll try to setup a windows development environment in the next few days to check where the problem lies

from tui-journal.

AmmarAbouZor avatar AmmarAbouZor commented on May 31, 2024

I've found the problem. It's that crossterm now emitting to key events on windows one for press and the other for release. A fix and release is coming right away

from tui-journal.

AmmarAbouZor avatar AmmarAbouZor commented on May 31, 2024

A new release with a fix for this problem is out. @itbaby Please check it and let me know if this release didn't fix the problem on your machine

from tui-journal.

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.