diff --git a/README.md b/README.md index e97b8d8..d6086a7 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,8 @@ - Renamed command: - 'AppendGroupOnDescription' to 'ShowTipGroup'. - Now extra-line to tip group +- Fixed bug : + - Table control does not render correctly when it does not support Unicode - Fixed bug : - The Slide Switch Control does not show on/off values ​​when they are not customized - Fixed bug : @@ -196,8 +198,6 @@ dotnet run --project [name of sample] ## Controls Snapshot -For each snapshot, the title is **name of project** sample in folder **samples** - ### AddToList [**Top**](#table-of-contents) | [Samples](https://github.com/FRACerqueira/PromptPlus/tree/main/Samples/AddToListSamples) diff --git a/Src/Controls/Table/TableControl.cs b/Src/Controls/Table/TableControl.cs index 24f14af..8be3f56 100644 --- a/Src/Controls/Table/TableControl.cs +++ b/Src/Controls/Table/TableControl.cs @@ -36,8 +36,8 @@ public override string InitControl(CancellationToken cancellationToken) throw new PromptPlusException("Not found columns definition"); } - //Validate layout SupportsAnsi - if (!ConsolePlus.SupportsAnsi) + //Validate layout UnicodeSupported + if (!ConsolePlus.IsUnicodeSupported) { switch (_options.Layout) { diff --git a/Src/Controls/Table/TableMultiSelectControl.cs b/Src/Controls/Table/TableMultiSelectControl.cs index 7b03bfa..233c18b 100644 --- a/Src/Controls/Table/TableMultiSelectControl.cs +++ b/Src/Controls/Table/TableMultiSelectControl.cs @@ -53,8 +53,8 @@ public override string InitControl(CancellationToken cancellationToken) throw new PromptPlusException("Not found columns definition"); } - //Validate layout SupportsAnsi - if (!ConsolePlus.SupportsAnsi) + //Validate layout UnicodeSupported + if (!ConsolePlus.IsUnicodeSupported) { switch (_options.Layout) { diff --git a/Src/Controls/Table/TableSelectControl.cs b/Src/Controls/Table/TableSelectControl.cs index efebc6b..afd85e8 100644 --- a/Src/Controls/Table/TableSelectControl.cs +++ b/Src/Controls/Table/TableSelectControl.cs @@ -52,8 +52,8 @@ public override string InitControl(CancellationToken cancellationToken) throw new PromptPlusException("Not found columns definition"); } - //Validate layout SupportsAnsi - if (!ConsolePlus.SupportsAnsi) + //Validate layout UnicodeSupported + if (!ConsolePlus.IsUnicodeSupported) { switch (_options.Layout) { diff --git a/Src/NugetREADME.md b/Src/NugetREADME.md index 626a470..5f4408f 100644 --- a/Src/NugetREADME.md +++ b/Src/NugetREADME.md @@ -71,6 +71,8 @@ PromptPlus **Supports 4/8/24-bit colors** in the terminal with auto-detection of - Renamed command: - 'AppendGroupOnDescription' to 'ShowTipGroup'. - Now extra-line to tip group +- Fixed bug : + - Table control does not render correctly when it does not support Unicode - Fixed bug : - The Slide Switch Control does not show on/off values ​​when they are not customized - Fixed bug : diff --git a/Src/README.txt b/Src/README.txt index 8008326..2f81593 100644 --- a/Src/README.txt +++ b/Src/README.txt @@ -91,6 +91,8 @@ PromptPlus was developed in C# with target frameworks: - Renamed command: - 'AppendGroupOnDescription' to 'ShowTipGroup'. - Now extra-line to tip group +- Fixed bug : + - Table control does not render correctly when it does not support Unicode - Fixed bug : - The Slide Switch Control does not show on/off values ​​when they are not customized - Fixed bug : diff --git a/docs/index.md b/docs/index.md index f2d900d..55c752e 100644 --- a/docs/index.md +++ b/docs/index.md @@ -90,6 +90,8 @@ - Renamed command: - 'AppendGroupOnDescription' to 'ShowTipGroup'. - Now extra-line to tip group +- Fixed bug : + - Table control does not render correctly when it does not support Unicode - Fixed bug : - The Slide Switch Control does not show on/off values ​​when they are not customized - Fixed bug : diff --git a/docs/snapshot.md b/docs/snapshot.md index 41ff830..c83fba5 100644 --- a/docs/snapshot.md +++ b/docs/snapshot.md @@ -10,8 +10,6 @@ ## Table of Contents -For each snapshot, the title is **name of project** in folder at github [**Samples**](https://github.com/FRACerqueira/PromptPlus/tree/main/Samples). - ### AddToList [**Top**](#table-of-contents) | [Samples](https://github.com/FRACerqueira/PromptPlus/tree/main/Samples/AddToListSamples)