Coder Social home page Coder Social logo

Comments (15)

issue-label-bot avatar issue-label-bot commented on May 21, 2024 3

Issue-Label Bot is automatically applying the label kind/bug to this issue, with a confidence of 0.68. Please mark this comment with πŸ‘ or πŸ‘Ž to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

from tanka.

cstyan avatar cstyan commented on May 21, 2024

I've had the same thing happen:

tk version v0.3.0-11-g832fedb
Linux 5.2.14-arch2-1-ARCH x86_64 GNU/Linux
alacritty 0.3.3

from tanka.

codesome avatar codesome commented on May 21, 2024

My versions:

  • tk built from master at 06e745e
  • Linux 5.0.0-29-generic #31~18.04.1-Ubuntu x86_64 GNU/Linux

from tanka.

sh0rez avatar sh0rez commented on May 21, 2024

Alright, I can reproduce this (kind of). It behaves slightly differently but similar.

Looks like this happens only in combination with less, somebody might want to figure out what less needs to be told to not produce this issue

from tanka.

stale avatar stale commented on May 21, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from tanka.

cstyan avatar cstyan commented on May 21, 2024

bump, go away stale bot

from tanka.

stale avatar stale commented on May 21, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from tanka.

codesome avatar codesome commented on May 21, 2024

πŸ‘€ (for the stale bot to go away)

from tanka.

sh0rez avatar sh0rez commented on May 21, 2024

Tbh, I have no idea how to fix this.

This issue only happens in combination with less, but I have no idea if we can tell less to not do this / if it is even possible to retain color output when scrolling up and down.

After all, colors in terminals are prefixed with these ANSI codes ... scrolling backwards means they would need to be prepended in the opposite order .. not easy, less would need to take care of this. Scrolling without a pager works fine, because it scrolls the output buffer of the terminal emulator up and down, instead of rewriting the entire screen

from tanka.

cstyan avatar cstyan commented on May 21, 2024

Can we have the option of just dumping the output to stdout instead of less? I'd prefer to scroll via my own terminal or pipe to less explicitly.

from tanka.

sh0rez avatar sh0rez commented on May 21, 2024

Tanka tries to use your systems pager for this .. if you don't want one at all, would setting PAGER=cat work?

from tanka.

cstyan avatar cstyan commented on May 21, 2024

Yes, that works via a shell function or alias. Is there any documentation anywhere of what env vars (:fire: ) tanka is making use of?

from tanka.

sh0rez avatar sh0rez commented on May 21, 2024

Afaict that’s the only one .. and no it’s not documented, but I will add it once I rewrite the docs

from tanka.

cstyan avatar cstyan commented on May 21, 2024

For what it's worth I don't have this issue with git diff pagination

from tanka.

stale avatar stale commented on May 21, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from tanka.

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.