~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to userinteractor.py

  • Committer: Aaron Bentley
  • Date: 2006-06-14 17:06:32 UTC
  • mto: This revision was merged to the branch mainline in revision 395.
  • Revision ID: abentley@panoramicfeedback.com-20060614170632-935a8dcb79efc4b7
Implement 'shove' for moving changes to other trees

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
            print '  %s - %s' % (opt.char, opt.help)
135
135
 
136
136
    if sys.platform == "win32":
 
137
        import msvcrt
137
138
        def __getchar(self):
138
 
            import msvcrt
139
 
            return msvcrt.getch()
 
139
            return msvcrt.getche()
140
140
    else:
141
141
        def __getchar(self):
142
142
            import tty