mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-26 07:55:01 +00:00
Fix problem with missing pseudographics on stock xterm* entries -
import official fix onto the vendor branch. Submitted by: Thomas Dickey <dickey@herndon4.his.com> Approved by: no response from maintainer
This commit is contained in:
parent
b82face19f
commit
211e7e4108
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/vendor/ncurses/dist/; revision=104977
@ -220,6 +220,8 @@ struct tries {
|
||||
#define S_QUOTE '\''
|
||||
#define D_QUOTE '"'
|
||||
|
||||
#define VT_ACSC "``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~"
|
||||
|
||||
/*
|
||||
* Structure for palette tables
|
||||
*/
|
||||
|
@ -465,6 +465,14 @@ sanity_check(TERMTYPE * tp)
|
||||
PAIRED(enter_underline_mode, exit_underline_mode)
|
||||
}
|
||||
|
||||
/* we do this check/fix in postprocess_termcap(), but some packagers
|
||||
* prefer to bypass it...
|
||||
*/
|
||||
if (acs_chars == 0
|
||||
&& enter_alt_charset_mode != 0
|
||||
&& exit_alt_charset_mode != 0)
|
||||
acs_chars = strdup(VT_ACSC);
|
||||
|
||||
/* listed in structure-member order of first argument */
|
||||
PAIRED(enter_alt_charset_mode, exit_alt_charset_mode);
|
||||
ANDMISSING(enter_alt_charset_mode, acs_chars);
|
||||
|
Loading…
Reference in New Issue
Block a user