Skip to content
This repository has been archived by the owner on May 8, 2021. It is now read-only.

ncurses/curses not redrawing #769

Closed
mmskv opened this issue Dec 11, 2020 · 1 comment
Closed

ncurses/curses not redrawing #769

mmskv opened this issue Dec 11, 2020 · 1 comment

Comments

@mmskv
Copy link

mmskv commented Dec 11, 2020

Hi,

Ncurses interfaces don't redraw on some programs after i resize them. So i have pinned down termite to be the cause of it, as rxvt-unicode draws ncurses fine.

Ncurses programs that appear to work: vim, nano, tmux, mutt?, alsamixer, top?.
Ncurses programs that don't work: mocp, ranger (although it uses python curses module), menuconfig, htop.

Termite works fine with ncurses on ArchLinux, but on fresh Gentoo install I can't make it work.

What did not help:
Recompiled sys-libs/ncurses with unicode, threads, gpm, cxx, tinfo support
Recompiled termite from this repository, tried two portage overlays - gig and gentoo-zh, compiled vte-ng from gentoo-zh, which did not work. Then compiled vte with termite patch and termite itself, from gig overlay. It did not work too.

Here is the example of mocp not redrawing (<c-r> did not work too).
image

and this is if I shrink window:
image

same problem with ranger (:refresh did not do anything):
https://user-images.githubusercontent.com/47359245/101955755-6f097980-3c0f-11eb-9f0f-1c7da6c53687.png
https://user-images.githubusercontent.com/47359245/101955773-7a5ca500-3c0f-11eb-8e28-cd13360f76f0.png =100x

works fine with urxvt:
https://user-images.githubusercontent.com/47359245/101955834-982a0a00-3c0f-11eb-8d7f-dcf37de59aad.png
https://user-images.githubusercontent.com/47359245/101955849-9f511800-3c0f-11eb-9044-ceed26548558.png

This is how menuconfig looks when shrinked:
https://user-images.githubusercontent.com/47359245/101956354-809f5100-3c10-11eb-89ff-52fb233822fb.png

Perhaps this issue is related to #665 or #88, but i did not experience wrong scale during startup, only after resizes.

Information about installed packages:
termite v13 (Upstream version did not work too)
vte - 0.48.4:2.91 (vte-ng did not work too)

@mmskv
Copy link
Author

mmskv commented Feb 11, 2021

Fix: fish-shell/fish-shell#7707

Adding these lines to config.fish fixed the issue for me.

set --unexport COLUMNS
set --unexport LINES

@mmskv mmskv closed this as completed Feb 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant