"""
SConnectForm.py

Form to connect to slack
"""

import npyscreen


class SConnectForm(npyscreen.Form):
    def create(self):
        self.name = "Login to Slack"
        # cs = self.add(npyscreen.BoxBasic, name="Connect to Slack")
        self.add(npyscreen.TitleText, name="Login:")
        self.add(npyscreen.TitlePassword, name="Password:")
        self.how_exited_handers[
            npyscreen.wgwidget.EXITED_ESCAPE] = self.exit

    def exit(self):
        self.parentApp.setNextForm(None)
        self.editing = False

60964a4000c29b932e81067288e1fb6c02e198a5
<mask token>


class SConnectForm(npyscreen.Form):
    <mask token>
    <mask token>

<mask token>


class SConnectForm(npyscreen.Form):
    <mask token>

    def exit(self):
        self.parentApp.setNextForm(None)
        self.editing = False

<mask token>


class SConnectForm(npyscreen.Form):

    def create(self):
        self.name = 'Login to Slack'
        self.add(npyscreen.TitleText, name='Login:')
        self.add(npyscreen.TitlePassword, name='Password:')
        self.how_exited_handers[npyscreen.wgwidget.EXITED_ESCAPE] = self.exit

    def exit(self):
        self.parentApp.setNextForm(None)
        self.editing = False

<mask token>
import npyscreen


class SConnectForm(npyscreen.Form):

    def create(self):
        self.name = 'Login to Slack'
        self.add(npyscreen.TitleText, name='Login:')
        self.add(npyscreen.TitlePassword, name='Password:')
        self.how_exited_handers[npyscreen.wgwidget.EXITED_ESCAPE] = self.exit

    def exit(self):
        self.parentApp.setNextForm(None)
        self.editing = False

"""
SConnectForm.py

Form to connect to slack
"""

import npyscreen


class SConnectForm(npyscreen.Form):
    def create(self):
        self.name = "Login to Slack"
        # cs = self.add(npyscreen.BoxBasic, name="Connect to Slack")
        self.add(npyscreen.TitleText, name="Login:")
        self.add(npyscreen.TitlePassword, name="Password:")
        self.how_exited_handers[
            npyscreen.wgwidget.EXITED_ESCAPE] = self.exit

    def exit(self):
        self.parentApp.setNextForm(None)
        self.editing = False
