Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • L liner
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • 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
  • liner
  • Merge requests
  • !10

Incremental search and history browse change.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Steven Stanfield requested to merge sstanfield/liner:master into master Nov 13, 2018
  • Overview 20
  • Commits 16
  • Pipelines 4
  • Changes 6

Adds incremental search (bound to ctrl-k for reverse and ctrl-s for forward). Reverse search searches most recent to oldest. Similar to read_line ctrl-r (ctrl-r was taken by vi binding), main differences are that up/down keys move in search and searches wrap.

Also changes history browsing. If something has been typed then up/down will only browse through history that starts with those characters. Wraps on up but not down (puts you back to your starting point).

Running rustfmt seems to change a lot of code other then mine so leaving out for now for clarity but obviously will run if requested. All tests should pass.

Closes #2 (closed)

Edited Nov 15, 2018 by Michael Aaron Murphy
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: master