Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
BattlefieldDuck committed Sep 27, 2023
1 parent 7f3a525 commit 537b447
Show file tree
Hide file tree
Showing 5 changed files with 472 additions and 363 deletions.
66 changes: 66 additions & 0 deletions XtermBlazor/TerminalOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,13 @@ public class TerminalOptions
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public double? CursorWidth { get; set; }

/// <summary>
/// The style of the cursor when the terminal is not focused.
/// </summary>
[JsonPropertyName("cursorInactiveStyle")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public CursorInactiveStyle? CursorInactiveStyle { get; set; }

/// <summary>
/// Whether input should be disabled.
/// </summary>
Expand Down Expand Up @@ -141,6 +148,15 @@ public class TerminalOptions
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? FontWeightBold { get; set; }

/// <summary>
/// Whether to ignore the bracketed paste mode. When true, this will always
/// paste without the `\x1b[200~` and `\x1b[201~` sequences, even when the
/// shell enables bracketed mode.
/// </summary>
[JsonPropertyName("ignoreBracketedPasteMode")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public bool? IgnoreBracketedPasteMode { get; set; }

/// <summary>
/// The spacing in whole pixels between characters.
/// </summary>
Expand Down Expand Up @@ -177,6 +193,13 @@ public class TerminalOptions
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public LogLevel? LogLevel { get; set; }

/// <summary>

Check warning on line 196 in XtermBlazor/TerminalOptions.cs

View workflow job for this annotation

GitHub Actions / build (macos-latest)

XML comment is not placed on a valid language element

Check warning on line 196 in XtermBlazor/TerminalOptions.cs

View workflow job for this annotation

GitHub Actions / build (macos-latest)

XML comment is not placed on a valid language element

Check warning on line 196 in XtermBlazor/TerminalOptions.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

XML comment is not placed on a valid language element

Check warning on line 196 in XtermBlazor/TerminalOptions.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

XML comment is not placed on a valid language element

Check warning on line 196 in XtermBlazor/TerminalOptions.cs

View workflow job for this annotation

GitHub Actions / build (windows-latest)

XML comment is not placed on a valid language element

Check warning on line 196 in XtermBlazor/TerminalOptions.cs

View workflow job for this annotation

GitHub Actions / build (windows-latest)

XML comment is not placed on a valid language element
/// A logger to use instead of `console`.
/// </summary>
// [JsonPropertyName("logger")]
// [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
// public Logger Logger { get; set; } = new();

/// <summary>
/// Whether to treat option as the meta key.
/// </summary>
Expand Down Expand Up @@ -374,6 +397,43 @@ public enum CursorStyle
Bar
}

/// <summary>
/// The style of the cursor when the terminal is not focused.
/// </summary>
[JsonConverter(typeof(JsonStringEnumMemberConverter))]
public enum CursorInactiveStyle
{
/// <summary>
/// Outline
/// </summary>
[EnumMember(Value = "outline")]
Outline,

/// <summary>
/// Block
/// </summary>
[EnumMember(Value = "block")]
Block,

/// <summary>
/// Bar
/// </summary>
[EnumMember(Value = "bar")]
Bar,

/// <summary>
/// Underline
/// </summary>
[EnumMember(Value = "underline")]
Underline,

/// <summary>
/// None
/// </summary>
[EnumMember(Value = "none")]
None
}

/// <summary>
/// The modifier key hold to multiply scroll speed.
/// </summary>
Expand Down Expand Up @@ -411,6 +471,12 @@ public enum FastScrollModifier
[JsonConverter(typeof(JsonStringEnumMemberConverter))]
public enum LogLevel
{
/// <summary>
/// Trace
/// </summary>
[EnumMember(Value = "trace")]
Trace,

/// <summary>
/// Debug
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion XtermBlazor/XtermBlazor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<Description>Brings xterm.js to Blazor</Description>
<PackageIcon>icon.png</PackageIcon>
<Version>1.9.0</Version>
<Version>1.10.0</Version>
<PackageTags>xterm, xterm-js, blazor, blazor-server, blazor-webassembly, blazor-wasm, xtermblazor</PackageTags>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
Expand Down
Loading

0 comments on commit 537b447

Please sign in to comment.