Update terminfo capabilities to v6.5

This commit is contained in:
Patrik Svensson 2024-09-03 22:17:33 +02:00
Родитель e194abb7cf
Коммит 3c3e254915
4 изменённых файлов: 12 добавлений и 10 удалений

2
scripts/Generate.ps1 Normal file → Executable file
Просмотреть файл

@ -1,3 +1,5 @@
#!/opt/homebrew/bin/pwsh
##########################################################
# Script that generates known terminfo capabilities
##########################################################

Просмотреть файл

@ -160,12 +160,12 @@ namespace Generator.Commands
}
}
throw new InvalidOperationException("Could not find 'ncurses-6.2/include/Caps'");
throw new InvalidOperationException($"Could not find '{CapsPath}'");
}
private const string NCursesUrl = "https://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.2.tar.gz";
private const string NCursesFilename = "ncurses-6.2.tar.gz";
private const string CapsPath = "ncurses-6.2/include/Caps";
private const string NCursesUrl = "https://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.5.tar.gz";
private const string NCursesFilename = "ncurses-6.5.tar.gz";
private const string CapsPath = "ncurses-6.5/include/Caps";
private async Task<Stream> FetchSourcePackage(Settings settings)
{

Просмотреть файл

@ -887,12 +887,12 @@ namespace TermInfo
KeyUp = 87,
/// <summary>
/// The keypad_local [keypad_local, rmkx] string capability is the leave 'keyboard transmit' mode.
/// The keypad_local [keypad_local, rmkx] string capability is the leave keyboard transmit mode.
/// </summary>
KeypadLocal = 88,
/// <summary>
/// The keypad_xmit [keypad_xmit, smkx] string capability is the enter 'keyboard transmit' mode.
/// The keypad_xmit [keypad_xmit, smkx] string capability is the enter keyboard transmit mode.
/// </summary>
KeypadXmit = 89,
@ -1802,7 +1802,7 @@ namespace TermInfo
ClearMargins = 270,
/// <summary>
/// The set_left_margin [set_left_margin, smgl] string capability is the set left soft margin at current column.
/// The set_left_margin [set_left_margin, smgl] string capability is the set left soft margin at current column not in bsd f itermcap f p.
/// </summary>
SetLeftMargin = 271,

Просмотреть файл

@ -858,12 +858,12 @@ namespace TermInfo
public string KeyUp => GetString(TermInfoCaps.String.KeyUp);
/// <summary>
/// The keypad_local [keypad_local, rmkx] string capability is the leave 'keyboard transmit' mode.
/// The keypad_local [keypad_local, rmkx] string capability is the leave keyboard transmit mode.
/// </summary>
public string KeypadLocal => GetString(TermInfoCaps.String.KeypadLocal);
/// <summary>
/// The keypad_xmit [keypad_xmit, smkx] string capability is the enter 'keyboard transmit' mode.
/// The keypad_xmit [keypad_xmit, smkx] string capability is the enter keyboard transmit mode.
/// </summary>
public string KeypadXmit => GetString(TermInfoCaps.String.KeypadXmit);
@ -1773,7 +1773,7 @@ namespace TermInfo
public string ClearMargins => GetString(TermInfoCaps.String.ClearMargins);
/// <summary>
/// The set_left_margin [set_left_margin, smgl] string capability is the set left soft margin at current column.
/// The set_left_margin [set_left_margin, smgl] string capability is the set left soft margin at current column not in bsd f itermcap f p.
/// </summary>
public string SetLeftMargin => GetString(TermInfoCaps.String.SetLeftMargin);