Skip to content

Support to deal with ctrl-z #131

Description

@m9rco

By the following,I want to close any out of the way the current session,But when the user use Ctrl -z will switch into the background

    shell.Interrupt(func(c *ishell.Context, count int, input string) {
      return
    })
    shell.EOF(func(c *ishell.Context) {
      return
    })

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions