Giter Site home page Giter Site logo

Better input system about devzat HOT 11 OPEN

quackduck avatar quackduck commented on May 14, 2024
Better input system

from devzat.

Comments (11)

Arkaeriit avatar Arkaeriit commented on May 14, 2024 1

You can see it here.

When you use the raw cast file, if the terminal window is wide enough, it looks normal. But when it is the proper size, it looks like what I had, which is very funky. I thik the issue comes from the fact that Devzat does not try to handle multiple lines and move the cursor around when editing a message. I saw the issue #140 and the related code and it doesn't look like the code can handle all cases.

from devzat.

quackduck avatar quackduck commented on May 14, 2024

By edit, do you mean before sending or after sending?

from devzat.

Arkaeriit avatar Arkaeriit commented on May 14, 2024

Before sending message. The editing of the first line works well, but once a new line is inserted by line warping, it becomes impossible to edit the first line.

from devzat.

quackduck avatar quackduck commented on May 14, 2024

huh, that doesn't happen for me. what terminal are you using?

from devzat.

Arkaeriit avatar Arkaeriit commented on May 14, 2024

I have this problem on Konsole, Alacritty, and st.

from devzat.

Arkaeriit avatar Arkaeriit commented on May 14, 2024

image
What I get when I try to add some text at the beginning of a multi-line message.

from devzat.

quackduck avatar quackduck commented on May 14, 2024

here's an asciinema of what I see: https://asciinema.org/a/1dhK4SCMVSAnm8l6FFBdvxtcZ

(unrelated but this shows the line counting algo is broken)

could you send an asciinema of what you see?

from devzat.

quackduck avatar quackduck commented on May 14, 2024

Wow um yeah input is really jank lol

from devzat.

Arkaeriit avatar Arkaeriit commented on May 14, 2024

I looked at potential solutions and Bubbles' textinput looks like a pretty decent solution for us. Do you think I should look into integrating it?

from devzat.

Arkaeriit avatar Arkaeriit commented on May 14, 2024

After looking at Bubble Tea, it seems that the inputs are very abstracted. Thus, getting the inputs from the user might be tricky. Bubble Tea might not be the solution to our problem.

from devzat.

quackduck avatar quackduck commented on May 14, 2024

I see

from devzat.

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.