Code Monkey home page Code Monkey logo

Comments (4)

dandavison avatar dandavison commented on May 20, 2024

Thanks for reporting @travankor! To make sure I understand, could you clarify exactly what you mean by "setting PAGER to none"? If you could post the output of env | grep PAGER that would help too.

from delta.

travankor avatar travankor commented on May 20, 2024

Thanks for the quick response! The program bat, which seems to be where delta's pager support comes from, lets you set PAGER=none or add the flag --pager=none to turn off paging. delta doesn't seem to have the latter option, but setting the environment variable BAT_PAGER=none allows you to output to the terminal without calling a pager.

Admittedly, this sort of feature is not so useful for git diffs (I was just testing delta out in the screenshot), but this would be neat for using with diff -u, where you don't necessarily to call the pager (since diff -u does not call less by default).

from delta.

travankor avatar travankor commented on May 20, 2024

On second glance, setting BAT_PAGER or PAGER=none completely messes up delta's formatting, so I'm guessing this is unsupported behaviour. Apologies for not noticing this earlier (just started looking at delta today).

Edit: So I think this is a duplicate of #45

from delta.

dandavison avatar dandavison commented on May 20, 2024

Edit: So I think this is a duplicate of #45

Right, that's what I was thinking too. But this ticket has good information in it for when someone deals with #45; thanks again.

from delta.

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.