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

Avoid writing prompt for multi-line input #801

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Grant Cooksey requested to merge grant.cooksey/ion:bug-prompt-in-multiline-input into master Sep 23, 2018
  • Overview 10
  • Commits 2
  • Pipelines 0
  • Changes 3

Overview

There was a bug where the shell prompt was being written during multi-line input during interactive shell sessions.

Solution

Stop printing the shell prompt when quotes are open and instead print quote> .

Notes

I'm not sure is there is a good way to add some tests around this since it only applies to interactive shell sessions. If anyone has an idea of how to do this, I'll be happy to add some.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: bug-prompt-in-multiline-input