mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,20 @@
|
|||
using System.Runtime.InteropServices.Marshalling;
|
||||
using Brutal;
|
||||
using Brutal.Interop;
|
||||
using Brutal.Pointers;
|
||||
namespace Brutal.NotCursesApi
|
||||
{
|
||||
/// Capabilities, derived from terminfo, environment variables, and queries
|
||||
public unsafe partial struct NcCapabilities
|
||||
{
|
||||
public uint Colors; // size of palette for indexed colors
|
||||
public Bool8 Utf8; // are we using utf-8 encoding? from nl_langinfo(3)
|
||||
public Bool8 Rgb; // 24bit color? COLORTERM/heuristics/terminfo 'rgb'
|
||||
public Bool8 CanChangeColors; // can we change the palette? terminfo 'ccc'
|
||||
public Bool8 Halfblocks; // we assume halfblocks, but some are known to lack them
|
||||
public Bool8 Quadrants; // do we have (good, vetted) Unicode 1 quadrant support?
|
||||
public Bool8 Sextants; // do we have (good, vetted) Unicode 13 sextant support?
|
||||
public Bool8 Octants; // do we have (good, vetted) Unicode 16 octant support?
|
||||
public Bool8 Braille; // do we have Braille support? (linux console does not)
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue