Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

on xterm with double-buffer, vis repaint background with not usual color after a quit #1164

Open
wcsxfrm opened this issue Jan 30, 2024 · 2 comments
Labels

Comments

@wcsxfrm
Copy link

wcsxfrm commented Jan 30, 2024

Problem

On xterm with double-buffer (-xrm '*buffered: true'), vis repaint background with not usual color after user quit (:q!)

  • problem exists on: v0.8, v0.7, v0.6 (BUT, it works on v0.5)
  • with double-buffer disabled (xterm default): it works on all versions
  • with TERM=xterm (16 colors): it always works
  • when the xterm window was resized by user, the background color was restored
  • also, glitch occurs too when user suspend (ctrl-z) instead :q!
  • others curses programs work as expected

Steps to reproduce

  • on xterm -xrm '*buffered: true' instance
  • TERM=xterm-256color vis
  • :q!

vis-and-xterm
vis-and-xterm-2
vis-and-xterm-3

vis version (vis -v)

all release versions and master, except 0.5

Terminal name/version

XTerm(372)

$TERM environment variable

xterm-256color

@rnpnr rnpnr added the core:ui label Feb 5, 2024
@rnpnr
Copy link
Collaborator

rnpnr commented Feb 5, 2024

Additional info: this is only an issue with the curses backend and only when you start with a theme like zenburn enabled. It doesn't happen if you switch to zenburn while running.

@rnpnr rnpnr closed this as completed Feb 5, 2024
@rnpnr rnpnr reopened this Feb 5, 2024
@wcsxfrm
Copy link
Author

wcsxfrm commented Feb 5, 2024

Additional info: this is only an issue with the curses backend and only when you start with a theme like zenburn enabled. It doesn't happen if you switch to zenburn while running.

yes. however, even in that situation, the problem yet occurs when, instead quitting with :q!, vis receive a TSTP signal (ctrl-z key on tty)

ctrl-z.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants