Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • termion termion
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 65
    • Issues 65
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 10
    • Merge requests 10
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • redox-osredox-os
  • termiontermion
  • Merge requests
  • !160

parse_event now distinguishes between invalid and incomplete input

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Liz requested to merge stillinbeta/termion:distinguish-partial-matches into master Apr 23, 2019
  • Overview 1
  • Commits 1
  • Pipelines 1
  • Changes 1

When parsing an event, if input is expected and not available, parse_event will return an Error with ErrorKind WouldBlock. All other error conditions are unaffected.

I'm making a telnet frontend for termion, and this distinction will let me parse in a non-blocking fashion.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: distinguish-partial-matches