Coder Social home page Coder Social logo

Comments (2)

martanne avatar martanne commented on August 24, 2024

Sorry for the late reply, I was busy with other things. abduco git switches to the alternate screen buffer before executing the given command. The issue you describe happens if the terminal doesn't support the alternate screen buffer in which case the cursor is most likely just placed at the left top most position, thus overwriting previous output.

As far as I know all modern terminal emulators are xterm compatible in this regard and support the alternate screen buffer. I tested it in st and dvtm git without problem. The one notable exception is the linux framebuffer console. Which terminal are you using?

It would be possible to query the terminfo database for the smcup/rmcup entries to use for the switch to the alternate screen buffer instead of hard coding xterm specific values. However I would like to avoid a dependency on termcap/terminfo libraries if possible. A somewhat hacky but less invasive change would be to check for $TERM=linux and avoid the use of the alternate screen buffer in this case.

from abduco.

phillid avatar phillid commented on August 24, 2024

I'm using st (0.5) and dvtm (0.12). This issue doesn't happen when running plain st without dvtm. Perhaps it is something to do with dvtm-0.12? I'll install dvtm-git later and report back.

Okay, yep. With dvtm-git installed, the issue disappears. I'll run on the git package for now then.

from abduco.

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.