Code Monkey home page Code Monkey logo

Comments (3)

jenisys avatar jenisys commented on May 23, 2024

The ANSI escape sequence for "up" should be correct (AFAIK).
I expect the terminal setting may be wrong. Check the TERM environment variable (and so).
NOTE: I works fine for me under MACOSX with TERM=xterm-256color (default settings).

WORKAROUND:
If this behavior annoys you, switch off coloring for now or use the plain formatter (has no coloring).

I am looking into this issue for Windows.
Because colorama (that could be used for coloring under Windows) does not translate the "up" sequence to the CMD shell.

from behave.

noelbush-xx avatar noelbush-xx commented on May 23, 2024

Well, I submitted a little tiny pull request that fixes this for me, and also works in a few other terminals I tried.

I would like to keep the pretty coloring -- it's nice.

This same problem happens for all my co-workers. So I wonder what terminal you are using -- must be something rather unusual/exotic.

If the change I submitted (just removing a "#") does not break the behavior for you, then it would be nice if you could incorporate it.

from behave.

jeamland avatar jeamland commented on May 23, 2024

I've applied @noelbush's pull request. Thanks!

from behave.

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.