Skip to content

Commit

Permalink
[#1165] fix jline3 example: add AnsiConsole::systemUninstall
Browse files Browse the repository at this point in the history
Closes #1165
  • Loading branch information
remkop committed Sep 8, 2020
1 parent 466975a commit ccd023e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Picocli follows [semantic versioning](http://semver.org/).
* [#1157] DOC: Fix typo "a argument group" in user manual. Thanks to sabrina for raising this.
* [#1160] DOC: Added section [Was a Value Defaulted?](https://picocli.info/#_was_a_value_defaulted) to the user manual.
* [#1161] DOC: Fix typo 4,2 in user manual. Thanks to sabrina for raising this.
* [#1165] DOC: Fix jline3 example: add `AnsiConsole::systemUninstall` in `finally` clause. Thanks to [David Walluck](https://github.com/dwalluck) for raising this.

## <a name="4.5.2-deprecated"></a> Deprecations
No features were deprecated in this release.
Expand Down
2 changes: 2 additions & 0 deletions picocli-shell-jline3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,8 @@ public class Example {
}
} catch (Throwable t) {
t.printStackTrace();
} finally {
AnsiConsole.systemUninstall();
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ public static void main(String[] args) {
}
} catch (Throwable t) {
t.printStackTrace();
} finally {
AnsiConsole.systemUninstall();
}
}
}

0 comments on commit ccd023e

Please sign in to comment.