svalbard
svalbard copied to clipboard
Bump cursive from 0.14.1 to 0.16.3
Bumps cursive from 0.14.1 to 0.16.3.
Release notes
Sourced from cursive's releases.
cursive-v0.15.0
Breaking changes
- Split library into a backend-agnostic
cursive-coreand a user-facingcursive.Cursive::defaultnow needs thecursive::CursiveExttrait to be in scope.- Update dependencies:
- crossterm to 0.17.
- enumset to 1.0
- ahash to 0.3
- pulldown-cmark to 0.7
- Add
PaletteColor::HighlightTextAnyCbnow takes a&mut dyn Viewrather than a&mut dyn Any.API updates
- Added
cursive::{default,ncurses,pancurses,termion,crossterm,blt,dummy}functions.- Add
Cursive::debug_name- Add
ScreensViewto move some code away from theCursiveroot
- Reworked global callbacks configuration
- Ctrl-C can be rewired to no longer exit the application
- Add
SelectView::(try_)iter_mut()Dialog::{test, info}now acceptStyledStringas input- Add missing functions to Checkbox re: enabled state
Bugfixes
- Fix Ctrl-Z binding for ncurses
- Fix potential crash with empty
SelectView- Add
tomlandmarkdownfeatures to docs.rs
Changelog
Sourced from cursive's changelog.
Changelog
cursive-core 0.2.2, cursive 0.16.2
API updates
- Add methods to turn a CursiveRunnable into a CursiveRunner.
cursive 0.16.1
Bugfixes
- Fix mouse input with crossterm backend.
cursive-core 0.2.1
Bugfixes
- Fix colors in menubar.
cursive-core 0.2.0, cursive 0.16
Breaking Changes
- Backends are now initialized when starting the event loop rather than when creating Cursive.
- As a result initialization and runner functions have changed.
ColorStyle::coloris no longer an optional. UseColorType::InheritParentif needed.- Replaced
()error types with some custom zero-sized types.API updates
- Add
ProgressBar::set_{min,max,range,counter,label}for non-chained API.- Derive Clone, Copy, Debug, PartialEq, Hash for more types.
- Add backend initializers using other files than /dev/tty for ncurses and termion.
- Add
CursiveRunnerto handle an event loop.XY<T>now implementsDefaultforT: Default.Stylenow implementsFromIterator<&Style>to merge multiple styles.XY::stack_{horizontal,vertical}are nowmust_use.SpannedStringnow implementsFromIterator<SpannedString>.view::ScrollBaseis now deprecated in favor of theview::scrollmodule.- Add
Finder::call_on_allandCursive::call_on_all_namedto call the same closure of several views with the same type and name.- Add
SpannedString::remove_spansto remove spans from a StyledString.- Add
SpannedString::compactto compact the source to only include span content.- Add
SpannedString::trim(_{start, end})to remove the unused prefix, suffix or both of the source.- Add
SpannedString::spans(_raw)_attr_mutto give mutable access to the attribute of the spans.- Add
TextContent::with_contentto give mutable access to theStyledStringof aTextView.- Add
ColotyType::InheritParentto carry over the front or back color from the parent.- Add
Effect::Blink.- Add
Margins::zeros().
... (truncated)
Commits
- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language -
@dependabot badge mewill comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)