histedit-ncurses
authorDebian Python Team <team+python@tracker.debian.org>
Tue, 12 Dec 2023 12:28:02 +0000 (13:28 +0100)
committerJulien Cristau <jcristau@debian.org>
Tue, 12 Dec 2023 12:28:02 +0000 (13:28 +0100)
commitfe3972474b092b83b434672e54fa8e1b02af3e6c
tree3cff797acb3faf3e2e17c6efecb42e5aa0e81a14
parent7b9464e36e441a3398340a895083b60f41dee0e5
histedit-ncurses

# HG changeset patch
# User Julien Cristau <jcristau@mozilla.com>
# Date 1702378068 -3600
#      Tue Dec 12 11:47:48 2023 +0100
# Branch stable
# Node ID e306d552dfb126efec571c5834400c84809c7efb
# Parent  cde293e04ca05ca8e324d9640b73b3056bfb0033
# EXP-Topic histedit-endwin
histedit: remove superfluous echo() and endwin() calls (issue6859)

ncurses patchlevel 20231111 started returning an error from endwin() if
called twice without a intervening screen update.

Per Sven Joachim in
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058041#17: "AFAICS,
invoking curses.echo() and curses.endwin() is superfluous
because curses.wrapper already does that for you, and calling
curses.endwin() twice throws an error with the newer ncurses.  Removing
those two lines should fix the problem."

Gbp-Pq: Name histedit-ncurses.patch
hgext/histedit.py