dit icon indicating copy to clipboard operation
dit copied to clipboard

strange output corruption

Open davidak opened this issue 6 years ago • 4 comments

when there are more than 6 same characters in one line, only the first character is displayed.

https://asciinema.org/a/ibiDlhLSTUIjIsqGogxQ9oESJ

I noticed that the output get's corrupted when i used PAGE-UP und PAGE-DOWN to navigate through files. Then sometimes characters stay on the display where other should be...

https://asciinema.org/a/V0gEYXLSzOQuJ05PtFicGPCAk

visible at 0:32 and 3:56.


dit 0.5 Pantheon Terminal NixOS 18.03.132275.2352d46904d (Impala)

Again, not reproducible with GNOME Terminal.

davidak avatar May 10 '18 02:05 davidak

Here i have a (private) file where dit don't show every line. Similar behavior in both Terminals.

screenshot from 2018-05-10 05-23-26

left: dit, right: vim

davidak avatar May 10 '18 03:05 davidak

I've had htop users in the past who had similar weird problems when their libncurses version did not match the version of their ncurses headers. Do you happen to have multiple ncurses versions installed? There may be conflicts with the OS-provided one.

hishamhm avatar May 10 '18 19:05 hishamhm

i think that shouldn't happen, but i ask...

could it be a problem that we use ncurses 6.0-20171125? maybe we need a fix like this? https://github.com/NixOS/nixpkgs/commit/8afcfb2bb6681c56ecf21e056d91d6748d953997

davidak avatar May 10 '18 22:05 davidak

That's probably not it: I run ncurses 6.0 here.

hishamhm avatar May 11 '18 18:05 hishamhm