Warning
This release introduces an unintended breaking change for users that want to construct Style directly. (see #46 for tracking)
New features
This release introduces support to express several OSC control codes by calling methods on AnsiGenericString. Primarily you can now mark particular text with a hyperlink by calling .hyperlink() on it.
nu-ansi-term strives to only output the ANSI sequences necessary to express the desired style. In some situation it may be beneficial to force the terminal emulator to reset its internal style before applying a new style.
To do so you can now use Style.reset_before_style().
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps nu-ansi-term from 0.47.0 to 0.48.0.
Release notes
Sourced from nu-ansi-term's releases.
... (truncated)
Changelog
Sourced from nu-ansi-term's changelog.
Commits
98b763f
Bump version for 0.48.0 release (#45)024aa11
Revert removal of the patch versions (#44)c32266c
Add support for hyperlinks and other OSC codes (#43)313eac4
update dependencies (#42)135430b
Add resetted styling (#40)564d7ba
Add feature: gnu_legacy mode for ansi styles (#39)773a306
Updatewindows-sys
to 0.48 (#38)ff8bd8f
Remove useless macro #[allow(dead_code)] (#37)47496f8
Quick fix around doc tests regarding Color::prefix(). (#35)35481f4
Unit tests update (#34)You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)