~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/ui/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-06-02 15:39:06 UTC
  • mfrom: (4393.2.2 bzr.ls-fix)
  • Revision ID: pqm@pqm.ubuntu.com-20090602153906-1q6bresxw669b34i
(Mattias Eriksson) Clear the terminal before outputing 'bzr ls'
        results.

Show diffs side-by-side

added added

removed removed

Lines of Context:
227
227
            prompt = prompt % kwargs
228
228
        prompt = prompt.encode(osutils.get_terminal_encoding(), 'replace')
229
229
        self.clear_term()
230
 
        self.stdout.write(prompt)
 
230
        self.stderr.write(prompt)
231
231
 
232
232
    def note(self, msg):
233
233
        """Write an already-formatted message."""