Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: console-rs/dialoguer
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.7.1
Choose a base ref
...
head repository: console-rs/dialoguer
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.8.0
Choose a head ref
  • 11 commits
  • 14 files changed
  • 3 contributors

Commits on Nov 6, 2020

  1. Move more to github ci

    pksunkara committed Nov 6, 2020
    Configuration menu
    Copy the full SHA
    fe41c31 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #94 from mitsuhiko/remove-travis

    Move more to github ci
    pksunkara authored Nov 6, 2020
    Configuration menu
    Copy the full SHA
    8cebf52 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2020

  1. Update ci.yml

    pksunkara authored Nov 15, 2020
    Configuration menu
    Copy the full SHA
    2df3a70 View commit details
    Browse the repository at this point in the history
  2. Update README.md

    pksunkara authored Nov 15, 2020
    Configuration menu
    Copy the full SHA
    2b5722d View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2020

  1. Allow FnMut for validate (#96)

    * Allow FnMut for validate
    
    This allows mutable closures for validation, allowing stateful
    validators.
    
    This breaks BC. Input::interact*() now take &mut self instead of &self.
    However, this shall not break most usres,
    since (I think) users usually use Input in chained syntax
    or call one of the &mut methods (like with_prompt) separately,
    which would require a `let mut` anyway.
    
    * Added example case with stateful validator
    
    * Updated CHANGELOG.md
    
    * Revert version bump
    SOF3 authored Nov 16, 2020
    Configuration menu
    Copy the full SHA
    af66480 View commit details
    Browse the repository at this point in the history

Commits on Dec 25, 2020

  1. Update CI for i686 ubuntu

    pksunkara committed Dec 25, 2020
    Configuration menu
    Copy the full SHA
    7ea6275 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2021

  1. Configuration menu
    Copy the full SHA
    3dd93bb View commit details
    Browse the repository at this point in the history
  2. Merge pull request #102 from spenserblack/typo-fix

    Fix typo: ereased -> erased
    pksunkara authored Jan 22, 2021
    Configuration menu
    Copy the full SHA
    a76fb72 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2021

  1. Configuration menu
    Copy the full SHA
    0250090 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2021

  1. Allow confirm with no choice (#101)

    * Add interact_opt Confirm example
    
    * Execute private _interact_on fn
    
    Makes `Confirm::interact_on` call private fn `Confirm::_interact_on`,
    which will allow for optionally allowing the user to quit.
    
    * Read key instead of char
    
    Allows handling of escape key
    
    * Change return type to Result<Option<bool>>
    
    Changes the return type of `Confirm::_interact_on`, and handles the
    rendered answer when it is `None`.
    
    * Handle quitting Confirm in private fn
    
    * Add optional interactions for Confirm
    
    Allows the user to answer neither "yes" nor "no"
    
    * Make exit clear confirm when waiting for newline
    
    * Display cancel instead of n/a
    
    * Set example confirm default to yes
    
    Sets the default value to "yes" for the optional confirm that waits for a newline,
    to simplify viewing behavior of a "quit" input when waiting for newline.
    
    Per discussion in #101
    
    * Only set None value to default if quit forbidden
    
    Prevents the value of confirm prompt from being converted to the default
    value when no value selected *only if* returning a None value is
    allowed.
    
    * Show no selected value when it is None
    
    Removes the "cancel" output from an optional confirm.
    
    Per discussion in #101
    spenserblack authored Feb 2, 2021
    Configuration menu
    Copy the full SHA
    64f5f9c View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2021

  1. Release 0.8.0

    dialoguer@0.8.0
    
    Generated by cargo-workspaces
    pksunkara committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    2c3fe6b View commit details
    Browse the repository at this point in the history
Loading