Package: less Version: 481-2.1 Severity: normal When a long line contains a double-width character, it is redrawn incorrectly after a search. To reproduce this issue:
1. Open the attached file with "less -c" in a 80-column terminal. The second line in the terminal contains: 3456 2. Search for a string with no matches. The second line in the terminal now contains: 4566 Tested with xterm 327, rxvt-unicode v9.22, and GNOME Terminal 3.22.1. Note: The -c option is not really necessary to reproduce this bug. -- System Information: Debian Release: stretch/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.8.0-2-amd64 (SMP w/12 CPU cores) Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages less depends on: ii debianutils 4.8.1 ii libc6 2.24-8 ii libtinfo5 6.0+20161126-1 less recommends no packages. less suggests no packages. -- no debconf information
123456789012345678901234567890123456789012345678901234 🍸 12345678901234567890123456 1. Open this file with "less -c" in a 80-column terminal. The second line in the terminal contains: 3456 2. Search for a string with no matches. The second line in the terminal now contains: 4566 Tested with xterm 327, rxvt-unicode v9.22, and GNOME Terminal 3.22.1. Note: The -c option is not really necessary to reproduce this bug.