Giter Club home page Giter Club logo

Comments (6)

keith-hall avatar keith-hall commented on August 27, 2024

I managed to solve this using the --raw-control-chars flag of less but this brought another problem , in which some lines of the displayed file simply disappear, and when I scroll down and then up, these lines start to appear, but in place of others (it's difficult to explain, but it's like that)

This reminds me a little of another problem with less that was reported recently. It may be worth trying less with the -c flag as well like #2973

from bat.

keith-hall avatar keith-hall commented on August 27, 2024

also, just to check - which version of bat are you using? I guess I'm mainly curious if it includes #2544

from bat.

DanielKaleby avatar DanielKaleby commented on August 27, 2024

also, just to check - which version of bat are you using? I guess I'm mainly curious if it includes #2544

less 643 (PCRE2 regular expressions)
Copyright (C) 1984-2023  Mark Nudelman

less comes with NO WARRANTY, to the extent permitted by law.
For information about the terms of redistribution,
see the file named README in the less distribution.
Home page: https://greenwoodsoftware.com/less

from bat.

DanielKaleby avatar DanielKaleby commented on August 27, 2024

It's actually quite inconsistent, it only happens with some files (and only with those that have more lines than my terminal emulator can show)..
(And also the -c flag had no effect in my tests)

from bat.

eth-p avatar eth-p commented on August 27, 2024

Would it be possible to provide a sample file where this happens? I'm not able to reproduce the issue on my setup.

from bat.

DanielKaleby avatar DanielKaleby commented on August 27, 2024

It was an error in my files, it has nothing to do with bat/less (I thought that was it because this didn't happen in other pagers).
Closing.

from bat.

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.