Skip to content

Commit

Permalink
Fixed issues : #54 , #55 , #58
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando Cerqueira committed Sep 12, 2023
1 parent f43b1ef commit 5274a90
Show file tree
Hide file tree
Showing 136 changed files with 755 additions and 1,200 deletions.
661 changes: 0 additions & 661 deletions LICENSE/LICENSE-FIGlet.Net.md

This file was deleted.

21 changes: 21 additions & 0 deletions LICENSE/LICENSE-FIGlet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2014 Philippe AURIOU

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
2 changes: 1 addition & 1 deletion PromptPlus.sln
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AlternateScreenSamples", "S
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Licenses", "Licenses", "{ADBB4294-4DC0-43FC-A57A-4C2F9BDB68A8}"
ProjectSection(SolutionItems) = preProject
LICENSE\LICENSE-FIGlet.Net.md = LICENSE\LICENSE-FIGlet.Net.md
LICENSE\LICENSE-Sharprompt.md = LICENSE\LICENSE-Sharprompt.md
LICENSE\LICENSE-FIGlet.md = LICENSE\LICENSE-FIGlet.md
LICENSE\LICENSE-SpectreConsole.md = LICENSE\LICENSE-SpectreConsole.md
LICENSE\LICENSE-xmldoc2md.md = LICENSE\LICENSE-xmldoc2md.md
EndProjectSection
Expand Down
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
## What's new in V4.0.5

- Added new proprty 'ExtraExceptionInfo' to write extra console exception info
- Improved terminal mode detection
- Improved terminal mode detection (for Windows 11 Versions)
- Rebuilt FIGlet with MIT License
- Fixed credits (MIT License Copyright)
- Fixed bug PromptPlus not restore StyleSchema when ResetColor
- Fixed Spell checking (Breaking Changes)
- SugestionInput to SuggestionInput
Expand All @@ -46,9 +48,9 @@
- Controls: AutoComplete/AddTolist/Input
- StyleControls.Sugestion to StyleControls.Suggestion
- StyleSchemaExtensions.Sugestion to StyleSchemaExtensions.Suggestion
- PromptPlusException.Plataform to PromptPlusException.Platform
- PromptPlusException.Plataform to PromptPlusException.Platform

**Special thanks to [ividyon](https://github.com/ividyon) for spell checking corrections, all documentation and wrong method/property names**
**Special thanks to [ividyon](https://github.com/ividyon) for spell checking corrections, all documentation, fixed credits (MIT License Copyright) and wrong method/property names**

## What's new in V4.0.4

Expand Down Expand Up @@ -499,15 +501,12 @@ See the [Contributing guide](CONTRIBUTING.md) for developer documentation.
## Credits
[**Top**](#table-of-contents)

PromptPlus includes code from other software released under the MIT license:
PromptPlus includes code from other software released under the **MIT license**:

- [Spectre.Console](https://spectreconsole.net/), Copyright (c) 2020 Patrik Svensson, Phil Scott, Nils Andresen.
- [Sharprompt](https://github.com/shibayan/Sharprompt), Copyright (c) 2019 shibayan.
- [xmldoc2md](https://github.com/FRACerqueira/xmldoc2md), Copyright (c) 2022 Charles de Vandière.

PromptPlus includes the following under the AGPLv3 license:

- [FIGlet.Net](https://github.com/WenceyWang/FIGlet.Net), Copyright (c) WenceyWang.
- [FIGlet](https://github.com/auriou/FIGlet), Copyright (c) 2014 Philippe AURIOU

## License
[**Top**](#table-of-contents)
Expand All @@ -519,4 +518,4 @@ PromptPlus is licensed under the MIT license. For more information see [LICENSE]
* For Spectre.Console licensing information, see [LICENSE-SpectreConsole](LICENSE/LICENSE-SpectreConsole.md).
* For Sharprompt licensing information, see [LICENSE-Sharprompt](LICENSE/LICENSE-Sharprompt.md).
* For xmldoc2md licensing information, see [LICENSE-xmldoc2md](LICENSE/LICENSE-xmldoc2md.md).
* For FIGlet.Net licensing information, see [LICENSE-FIGlet.Net](LICENSE/LICENSE-FIGlet.Net.md).
* For FIGlet licensing information, see [LICENSE-FIGlet](LICENSE/LICENSE-FIGlet.md).
7 changes: 6 additions & 1 deletion Samples/AddToListSamples/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
using System.Globalization;
// ***************************************************************************************
// MIT LICENCE
// The maintenance and evolution is maintained by the PromptPlus project under MIT license
// ***************************************************************************************

using System.Globalization;
using PPlus;

namespace AddToListSamples
Expand Down
7 changes: 6 additions & 1 deletion Samples/AddtoMaskEditListSamples/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
using System.Globalization;
// ***************************************************************************************
// MIT LICENCE
// The maintenance and evolution is maintained by the PromptPlus project under MIT license
// ***************************************************************************************

using System.Globalization;
using PPlus;

namespace AddtoMaskEditListSamples
Expand Down
7 changes: 6 additions & 1 deletion Samples/AlternateScreenSamples/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
using PPlus;
// ***************************************************************************************
// MIT LICENCE
// The maintenance and evolution is maintained by the PromptPlus project under MIT license
// ***************************************************************************************

using PPlus;
using PPlus.Controls;

namespace AlternateScreenSamples
Expand Down
7 changes: 6 additions & 1 deletion Samples/AutoCompleteSamples/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
using System.Globalization;
// ***************************************************************************************
// MIT LICENCE
// The maintenance and evolution is maintained by the PromptPlus project under MIT license
// ***************************************************************************************

using System.Globalization;
using PPlus;
using PPlus.Controls;

Expand Down
8 changes: 6 additions & 2 deletions Samples/BannerSamples/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
// See https://aka.ms/new-console-template for more information
// ***************************************************************************************
// MIT LICENCE
// The maintenance and evolution is maintained by the PromptPlus project under MIT license
// ***************************************************************************************


using PPlus;
using PPlus.Controls;

Expand All @@ -21,7 +26,6 @@
PromptPlus
.Banner("StarWars")
.LoadFont("starwars.flf")
.FIGletWidth(CharacterWidth.Smush)
.Run(Color.Blue);

PromptPlus.WriteLines(2);
Expand Down
7 changes: 6 additions & 1 deletion Samples/BrowserMultSelectSamples/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
using PPlus;
// ***************************************************************************************
// MIT LICENCE
// The maintenance and evolution is maintained by the PromptPlus project under MIT license
// ***************************************************************************************

using PPlus;
using PPlus.Controls;

namespace BrowserMultSelectSamples
Expand Down
7 changes: 6 additions & 1 deletion Samples/BrowserSamples/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
using System.Globalization;
// ***************************************************************************************
// MIT LICENCE
// The maintenance and evolution is maintained by the PromptPlus project under MIT license
// ***************************************************************************************

using System.Globalization;
using PPlus;
using PPlus.Controls;

Expand Down
6 changes: 5 additions & 1 deletion Samples/CalendarSamples/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
// See https://aka.ms/new-console-template for more information
// ***************************************************************************************
// MIT LICENCE
// The maintenance and evolution is maintained by the PromptPlus project under MIT license
// ***************************************************************************************

using System.Globalization;
using PPlus;
using PPlus.Controls;
Expand Down
7 changes: 6 additions & 1 deletion Samples/ChartSamples/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
using System.Globalization;
// ***************************************************************************************
// MIT LICENCE
// The maintenance and evolution is maintained by the PromptPlus project under MIT license
// ***************************************************************************************

using System.Globalization;
using PPlus;
using PPlus.Controls;

Expand Down
6 changes: 5 additions & 1 deletion Samples/ConfirmSamples/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
// See https://aka.ms/new-console-template for more information
// ***************************************************************************************
// MIT LICENCE
// The maintenance and evolution is maintained by the PromptPlus project under MIT license
// ***************************************************************************************

using System.Globalization;
using PPlus;

Expand Down
1 change: 1 addition & 0 deletions Samples/ConsoleFeaturesSamples/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// MIT LICENCE
// Copyright 2020 Patrik Svensson, Phil Scott, Nils Andresen.
// https://spectreconsole.net
// The maintenance and evolution is maintained by the PromptPlus project under MIT license
// ***************************************************************************************

using PPlus;
Expand Down
7 changes: 6 additions & 1 deletion Samples/InputBasicSamples/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
// See https://aka.ms/new-console-template for more information
// ***************************************************************************************
// MIT LICENCE
// The maintenance and evolution is maintained by the PromptPlus project under MIT license
// ***************************************************************************************


using System.Globalization;
using PPlus;
using PPlus.Controls;
Expand Down
7 changes: 6 additions & 1 deletion Samples/InputOverwriteDefaultFromSamples/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
// See https://aka.ms/new-console-template for more information
// ***************************************************************************************
// MIT LICENCE
// The maintenance and evolution is maintained by the PromptPlus project under MIT license
// ***************************************************************************************


using System.Globalization;
using PPlus;

Expand Down
6 changes: 5 additions & 1 deletion Samples/InputSecretSamples/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
// See https://aka.ms/new-console-template for more information
// ***************************************************************************************
// MIT LICENCE
// The maintenance and evolution is maintained by the PromptPlus project under MIT license
// ***************************************************************************************

using System.Globalization;
using PPlus;
using PPlus.Controls;
Expand Down
6 changes: 5 additions & 1 deletion Samples/InputWithHistorySamples/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
// See https://aka.ms/new-console-template for more information
// ***************************************************************************************
// MIT LICENCE
// The maintenance and evolution is maintained by the PromptPlus project under MIT license
// ***************************************************************************************

using System.Globalization;
using PPlus;

Expand Down
6 changes: 5 additions & 1 deletion Samples/InputWithSuggestionSamples/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
// See https://aka.ms/new-console-template for more information
// ***************************************************************************************
// MIT LICENCE
// The maintenance and evolution is maintained by the PromptPlus project under MIT license
// ***************************************************************************************

using System.Globalization;
using PPlus;
using PPlus.Controls;
Expand Down
6 changes: 5 additions & 1 deletion Samples/InputWithValidatorSamples/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
// See https://aka.ms/new-console-template for more information
// ***************************************************************************************
// MIT LICENCE
// The maintenance and evolution is maintained by the PromptPlus project under MIT license
// ***************************************************************************************

using System.ComponentModel.DataAnnotations;
using System.Globalization;
using PPlus;
Expand Down
6 changes: 5 additions & 1 deletion Samples/KeyPressSamples/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
// See https://aka.ms/new-console-template for more information
// ***************************************************************************************
// MIT LICENCE
// The maintenance and evolution is maintained by the PromptPlus project under MIT license
// ***************************************************************************************

using System.Globalization;
using PPlus;
using PPlus.Controls;
Expand Down
7 changes: 6 additions & 1 deletion Samples/MaskEditCurrencyTypeSamples/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
using System.Globalization;
// ***************************************************************************************
// MIT LICENCE
// The maintenance and evolution is maintained by the PromptPlus project under MIT license
// ***************************************************************************************

using System.Globalization;
using PPlus;
using PPlus.Controls;

Expand Down
7 changes: 6 additions & 1 deletion Samples/MaskEditDateTimeTypeSamples/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
using System.Globalization;
// ***************************************************************************************
// MIT LICENCE
// The maintenance and evolution is maintained by the PromptPlus project under MIT license
// ***************************************************************************************

using System.Globalization;
using PPlus;
using PPlus.Controls;

Expand Down
7 changes: 6 additions & 1 deletion Samples/MaskEditDateTypeSamples/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
using System.Globalization;
// ***************************************************************************************
// MIT LICENCE
// The maintenance and evolution is maintained by the PromptPlus project under MIT license
// ***************************************************************************************

using System.Globalization;
using PPlus;
using PPlus.Controls;

Expand Down
7 changes: 6 additions & 1 deletion Samples/MaskEditGenericSamples/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
using PPlus;
// ***************************************************************************************
// MIT LICENCE
// The maintenance and evolution is maintained by the PromptPlus project under MIT license
// ***************************************************************************************

using PPlus;

namespace MaskEditGenericSamples
{
Expand Down
7 changes: 6 additions & 1 deletion Samples/MaskEditNumberTypeSamples/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
using System.Globalization;
// ***************************************************************************************
// MIT LICENCE
// The maintenance and evolution is maintained by the PromptPlus project under MIT license
// ***************************************************************************************

using System.Globalization;
using PPlus;
using PPlus.Controls;

Expand Down
7 changes: 6 additions & 1 deletion Samples/MaskEditTimeTypeSamples/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
using System.Globalization;
// ***************************************************************************************
// MIT LICENCE
// The maintenance and evolution is maintained by the PromptPlus project under MIT license
// ***************************************************************************************

using System.Globalization;
using PPlus;
using PPlus.Controls;

Expand Down
7 changes: 6 additions & 1 deletion Samples/MultiSelectBasicSamples/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
using System.ComponentModel.DataAnnotations;
// ***************************************************************************************
// MIT LICENCE
// The maintenance and evolution is maintained by the PromptPlus project under MIT license
// ***************************************************************************************

using System.ComponentModel.DataAnnotations;
using System.Globalization;
using PPlus;
using PPlus.Controls;
Expand Down
7 changes: 6 additions & 1 deletion Samples/MultiSelectUserScopeSamples/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
using System.ComponentModel.DataAnnotations;
// ***************************************************************************************
// MIT LICENCE
// The maintenance and evolution is maintained by the PromptPlus project under MIT license
// ***************************************************************************************

using System.ComponentModel.DataAnnotations;
using System.Globalization;
using PPlus;
using PPlus.Controls;
Expand Down
7 changes: 6 additions & 1 deletion Samples/MultiSelectUserTypeSamples/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
using System.Globalization;
// ***************************************************************************************
// MIT LICENCE
// The maintenance and evolution is maintained by the PromptPlus project under MIT license
// ***************************************************************************************

using System.Globalization;
using PPlus;

namespace MultiSelectUserTypeSamples
Expand Down
7 changes: 6 additions & 1 deletion Samples/PipelineSamples/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
using System.Globalization;
// ***************************************************************************************
// MIT LICENCE
// The maintenance and evolution is maintained by the PromptPlus project under MIT license
// ***************************************************************************************

using System.Globalization;
using PPlus;

namespace PipelineSamples
Expand Down
7 changes: 6 additions & 1 deletion Samples/ProgressBarSamples/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
using System.Globalization;
// ***************************************************************************************
// MIT LICENCE
// The maintenance and evolution is maintained by the PromptPlus project under MIT license
// ***************************************************************************************

using System.Globalization;
using PPlus;
using PPlus.Controls;

Expand Down
Loading

0 comments on commit 5274a90

Please sign in to comment.