abiosoft/ishell

Support to deal with ctrl-z

m9rco opened this issue · 1 comments

m9rco commented

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

#133 Fix the problem