Add superscript and subscript cell attributes
I've expanded the number of bits from 16->32 without impacting the overall struct sizes and reserved 2 bits for super/subscript. I refer to these as vertical alignment properties for conceptual consistency with css. SGR 73, 74, 75 are used to set super, sub and normal vertical alignment. These are compatible with mintty. However, mintty just added support for setting both attributes to render in small caps in https://github.com/mintty/mintty/commit/06ac446049c07ad9566fcc617749120af4bd0fba (https://github.com/mintty/mintty/issues/1171)
This commit is contained in:
1 parent
a59e45ab9e
commit
1b99690990
8 files changed
+64
-16
No files matched your search
+1
-1
@@ -416,7 +416,7 @@ macro_rules! pdu {
|
||||
/// The overall version of the codec.
|
||||
/// This must be bumped when backwards incompatible changes
|
||||
/// are made to the types and protocol.
|
||||
pub const CODEC_VERSION: usize = 29;
|
||||
pub const CODEC_VERSION: usize = 30;
|
||||
|
||||
// Defines the Pdu enum.
|
||||
// Each struct has an explicit identifying number.
|
||||
|
||||
Reference in new issue
Block a user