def _update_status(self) -> None:
    inpt = ''
    if self._context['input']:
        inpt = (self._context['input'] + ' ')
    if self._context['error_messages']:
        inpt = ('[ERROR] ' + inpt)
    path = (('[' + self._context['path']) + ']')
    status = {'input': inpt, 'sources': self._statusline_sources, 'path': path, 'buffer_name': self._context['buffer_name'], 'line_total': len(self._candidates)}
    if (status == self._prev_status):
        return
    self._bufvars['denite_statusline'] = status
    self._prev_status = status
    linenr = "printf('%'.(len(line('$'))+2).'d/%d',line('.'),line('$'))"
    if self._context['statusline']:
        if (self._floating or self._filter_floating):
            self._vim.options['titlestring'] = ((((("%{denite#get_status('input')}%* " + "%{denite#get_status('sources')} ") + " %{denite#get_status('path')}%*") + '%{') + linenr) + '}%*')
        else:
            winnr = self._vim.call('win_id2win', self._winid)
            self._vim.call('setwinvar', winnr, '&statusline', ((((("%#deniteInput#%{denite#get_status('input')}%* " + "%{denite#get_status('sources')} %=") + "%#deniteStatusLinePath# %{denite#get_status('path')}%*") + '%#deniteStatusLineNumber#%{') + linenr) + '}%*'))
def _update_status(self) -> None:
    inpt = 
    if self._context['input']:
        inpt = (self._context['input'] + ' ')
    if self._context['error_messages']:
        inpt = ('[ERROR] ' + inpt)
    path = (('[' + self._context['path']) + ']')
    status = {'input': inpt, 'sources': self._statusline_sources, 'path': path, 'buffer_name': self._context['buffer_name'], 'line_total': len(self._candidates)}
    if (status == self._prev_status):
        return
    self._bufvars['denite_statusline'] = status
    self._prev_status = status
    linenr = "printf('%'.(len(line('$'))+2).'d/%d',line('.'),line('$'))"
    if self._context['statusline']:
        if (self._floating or self._filter_floating):
            self._vim.options['titlestring'] = ((((("%{denite#get_status('input')}%* " + "%{denite#get_status('sources')} ") + " %{denite#get_status('path')}%*") + '%{') + linenr) + '}%*')
        else:
            winnr = self._vim.call('win_id2win', self._winid)
            self._vim.call('setwinvar', winnr, '&statusline', ((((("%#deniteInput#%{denite#get_status('input')}%* " + "%{denite#get_status('sources')} %=") + "%#deniteStatusLinePath# %{denite#get_status('path')}%*") + '%#deniteStatusLineNumber#%{') + linenr) + '}%*'))