Comments (6)
I managed to solve this using the
--raw-control-chars
flag ofless
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.
also, just to check - which version of bat
are you using? I guess I'm mainly curious if it includes #2544
from bat.
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.
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.
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.
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)
- markdown feature request for quarto codeblocks HOT 1
- Print out code and outputs rather than json format of ipynb files HOT 1
- [BUG] Invalid non-UTF8 @data passed as text to web_socket_connection_send() on Cockpit
- Support elvish shell syntax highlight?
- Syntax highlighting doesn't work properly for fish man pages HOT 3
- Request for a 'statically compiled binary' for macOS arm64
- bat fails to run due to dependency on older libgit2 version on macOS HOT 7
- libgit library not loaded error HOT 3
- Bat library not loaded error HOT 7
- Add PaperColor theme HOT 1
- [bat --help] not showing color since version 0.23.0-1
- [bat --paging=never --plain] still paging, since version 0.24.0 HOT 1
- JSON-LD (`*.jsonld`, identical to `*.json`) HOT 1
- Better way to use alias bat instead of batcat symlink for ubuntu HOT 2
- bat closes interactive mode instantly when terminal resizes to fit file HOT 2
- Not possible to specify jsonl (JSON lines) in the language parameter HOT 2
- Cannot compile bat: error[E0282]: type annotations needed for `Box<_>`
- Add new syntax: CSS3 HOT 1
- why bat does not support edit function?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bat.