-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compatibility checks for kitty, experimental windowsizing stuff.
- Loading branch information
Showing
7 changed files
with
120 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
namespace Sixel.Terminal.Models; | ||
|
||
/// <summary> | ||
/// Represents the size of the terminal window in characters. | ||
/// </summary> | ||
public class WindowSizeCharacters | ||
{ | ||
/// <summary> | ||
/// Gets the width of the terminal in characters. | ||
/// </summary> | ||
public int CharacterWidth { get; set; } | ||
|
||
/// <summary> | ||
/// Gets the height of the terminal in characters. | ||
/// </summary> | ||
public int CharacterHeight { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
namespace Sixel.Terminal.Models; | ||
|
||
/// <summary> | ||
/// Represents the size of the terminal window in pixels | ||
/// not supported in all terminals. | ||
/// like WezTerm, Alacritty | ||
/// </summary> | ||
public class WindowSizePixels | ||
{ | ||
/// <summary> | ||
/// Gets the width of the terminal in pixels. | ||
/// </summary> | ||
public int PixelWidth { get; set; } | ||
|
||
/// <summary> | ||
/// Gets the height of the terminal in pixels. | ||
/// </summary> | ||
public int PixelHeight { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters