Coder Social home page Coder Social logo

Repeated output about vantage HOT 18 CLOSED

dthree avatar dthree commented on June 15, 2024
Repeated output

from vantage.

Comments (18)

dthree avatar dthree commented on June 15, 2024 1

@zakhenry I believe this was fixed.

from vantage.

dthree avatar dthree commented on June 15, 2024

Can you try this for me:

After starting the app, press [enter] a few times, and then do the foo command. Does it still repeat this?

I had noticed a bug that the first output is doubled, earlier. Maybe this is the same thing.

from vantage.

wonderdogone avatar wonderdogone commented on June 15, 2024

yup same result after many returns
websvr~$
websvr~$
websvr~$
websvr~$
websvr~$
websvr~$
websvr~$
websvr~$
websvr~$
websvr~$
websvr~$
websvr~$
websvr~$ foo
websvr~$ foo
bar
websvr~$

from vantage.

dthree avatar dthree commented on June 15, 2024

K looking into it.

from vantage.

wonderdogone avatar wonderdogone commented on June 15, 2024

it has something to do with the input. after a few commands I start getting breaking on each character as i type

dive~$ s
dive~$ sh
dive~$ sho
dive~$ show
dive~$ shows
dive~$
dive~$
dive~$
dive~$
dive~$

from vantage.

dthree avatar dthree commented on June 15, 2024

Hmm. If your vantage code is small, could you please paste it here? Also, what terminal are you using?
Thanks.

from vantage.

METACEO avatar METACEO commented on June 15, 2024
  • The server.js code copied from the readme
  • Node.js v4.0.0
  • Vantage 1.5.1
  • PuTTY Release 0.63

Using the above, I too am experiencing the same as @wonderdogone. What I've found is the vertical height of the terminal determines this behavior, see below.

Too tall of terminal

tootall

Terminal just tall enough

tallenough
Once I have reached the bottom of my terminal, my keystrokes are no longer repeated (e.g. shown in the second photo, f and o was not repeated when I was typing foo at the bottom of the terminal.)

from vantage.

dthree avatar dthree commented on June 15, 2024

@G3E9 you nailed it. That's so weird. It's not so much the terminal height, as the cursor has to be on the bottom of the page.

Going to look into this soon.

from vantage.

METACEO avatar METACEO commented on June 15, 2024

heldkey
A better example.

from vantage.

dthree avatar dthree commented on June 15, 2024

Yeah - I was able to reproduce it. Thanks.

Vorpal just recently switched to a newer version of inquirer (10x smaller), and this broke a bunch of things. This looks like the last thing left.

from vantage.

METACEO avatar METACEO commented on June 15, 2024

It's not so much the terminal height, as the cursor has to be on the bottom of the page.

Right on. While I was just about to test with Vorpal, you sound like your on top of it!.. I've really been enjoying Vantage in my projects, awesome work!

from vantage.

dthree avatar dthree commented on June 15, 2024

Thanks! Really glad you find it helpful!

from vantage.

wonderdogone avatar wonderdogone commented on June 15, 2024

yea I figured out its happening most of the time in the morning when i open a new terminal and cursor is at the top.

from vantage.

dthree avatar dthree commented on June 15, 2024

This is fixed in Vorpal - I just have to migrate Vantage to the latest version of Vorpal.

from vantage.

fiznool avatar fiznool commented on June 15, 2024

@dthree

I had noticed a bug that the first output is doubled, earlier. Maybe this is the same thing.

I'm seeing this issue, is there any fix?

from vantage.

xori avatar xori commented on June 15, 2024

I only see it when I connect from another process and I found that just typing vantage to open the initial console, then vantage server:port to connect to the intended server, stops the double output.

PS C:\code\bin\shar> vantage
local@mycomputer~$ vantage myserver:port
my-vantage-prompt> 

from vantage.

samhagman avatar samhagman commented on June 15, 2024

Any update @dthree on integrating the newest Vorpal to resolve this issue as well as issues like #56 and anyone else that will try to use newer vorpal APIs? Thanks for this really cool library by the way.

from vantage.

zakhenry avatar zakhenry commented on June 15, 2024

@samhagman the version of vorpal that vantage uses was brought up to date in #62 , by any chance was this issue fixed? I haven't noticed the issue in my own work. cc @dthree

from vantage.

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.