GithubHelp home page GithubHelp logo

Comments (8)

azz avatar azz commented on May 29, 2024 2

Something is awry with the ansi-html stream...

<span 0="<" 1="s" 2="p" 3="a" 4="n" 5=" " 6="0" 7="=" 8="" 9="<" 10="" 11=" " 12="1" 13="=" 14="" 15="s" 16="" 17=" " 18="2" 19="=" 20="" 21="p" 22="" 23=" " 24="3" 25="=" 26="" 27="a" 28="" 29=" " 30="4" 31="=" 32="" 33="n" 34="" 35=" " 36="5" 37="=" 38="" 39=" " 40="" 41=" " 42="6" 43="=" 44="" 45="s" 46="" 47=" " 48="7" 49="=" 50="" 51="t" 52="" 53=" " 54="8" 55="=" 56="" 57="y" 58="" 59=" " 60="9" 61="=" 62="" 63="l" 64="" 65=" " 66="1" 67="0" 68="=" 69="" 70="e" 71="" 72=" " 73="1" 74="1" 75="=" 76="" 77="=" 78="" 79=" " 80="1" 81="2" 82="=" 83="" 84="" 85=" " 86="1" 87="3" 88="=" 89="" 90="c" 91="" 92=" " 93="1" 94="4" 95="=" 96="" 97="o" 98="" 99=" " 100="1" 101="5" 102="=" 103="" 104="l" 105="" 106=" " 107="1" 108="6" 109="=" 110="" 111="o" 112="" 113=" " 114="1" 115="7" 116="=" 117="" 118="r" 119="" 120=" " 121="1" 122="8" 123="=" 124="" 125=":" 126="" 127=" " 128="1" 129="9" 130="=" 131="" 132="g" 133="" 134=" " 135="2" 136="0" 137="=" 138="" 139="r" 140="" 141=" " 142="2" 143="1" 144="=" 145="" 146="e" 147="" 148=" " 149="2" 150="2" 151="=" 152="" 153="e" 154="" 155=" " 156="2" 157="3" 158="=" 159="" 160="n" 161="" 162=" " 163="2" 164="4" 165="=" 166="" 167="" 168=" " 169="2" 170="5" 171="=" 172="" 173=">" 174="" 175=">">

from dev-ui.

Haroenv avatar Haroenv commented on May 29, 2024

so it works pretty well via #14, but the colours are still flaky for some reason. Maybe it manages to miss a single packet?

from dev-ui.

azz avatar azz commented on May 29, 2024

Also need to handle the move to start of line ANSI code (or just \r?)

image

from dev-ui.

azz avatar azz commented on May 29, 2024

Jest looks good though - unicode problem is fixed!

image

from dev-ui.

Haroenv avatar Haroenv commented on May 29, 2024

We should probably just do a newline if the command is trying to rewrite the line

from dev-ui.

ranfdev avatar ranfdev commented on May 29, 2024

If i try to run a script multiple times, the stream will get slower, until the app crashes.
How to reproduce: click on the rainbow script multiple times

from dev-ui.

Haroenv avatar Haroenv commented on May 29, 2024

I think the stream is actually never stopped 🤔 even though kill is called afaict

from dev-ui.

ranfdev avatar ranfdev commented on May 29, 2024

I removed the theme and now i don't get any problem, check the PR #38

from dev-ui.

Related Issues (14)

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.