Skip to content

Support to deal with ctrl-z #131

Closed
Closed
@m9rco

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
    })

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