def reconn_notice():
 guide = ((light_magenta('You can use ') + light_green('switch')) + light_magenta(' command to return to your stream.\n'))
 guide += ((light_magenta('Type ') + light_green('h stream')) + light_magenta(' for more details.'))
 printNicely(guide)
 sys.stdout.write(g['decorated_name'](g['PREFIX']))
 sys.stdout.flush()

def reconn_notice ( ) : guide = ( ( light_magenta ( 'You can use ' ) + light_green ( 'switch' ) ) + light_magenta ( ' command to return to your stream.\n' ) ) guide += ( ( light_magenta ( 'Type ' ) + light_green ( 'h stream' ) ) + light_magenta ( ' for more details.' ) ) printNicely ( guide ) sys . stdout . write ( g [ 'decorated_name' ] ( g [ 'PREFIX' ] ) ) sys . stdout . flush ( )
notice when hangup or timeout .