mirror of
https://github.com/mnaberez/py65.git
synced 2024-11-16 02:08:42 +00:00
Comment fixups and remove unused import
This commit is contained in:
parent
b6e00ea196
commit
1e1791652e
@ -55,6 +55,8 @@ class Monitor(cmd.Cmd):
|
||||
self._add_shortcuts()
|
||||
cmd.Cmd.__init__(self, stdin=stdin, stdout=stdout)
|
||||
|
||||
# Save the current input mode so it can be restored after
|
||||
# after processing commands and before exiting.
|
||||
console.save_mode(self.stdin)
|
||||
|
||||
if argv is None:
|
||||
|
@ -1,11 +1,10 @@
|
||||
import sys
|
||||
import time
|
||||
|
||||
if sys.platform[:3] == "win":
|
||||
import msvcrt
|
||||
|
||||
def save_mode(stdin):
|
||||
""" get_mode is a no-op on Windows. """
|
||||
""" save_mode is a no-op on Windows. """
|
||||
return
|
||||
|
||||
def noncanonical_mode(stdin):
|
||||
|
Loading…
Reference in New Issue
Block a user