1
0
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:
Sam Colwell 2019-01-12 12:48:00 -05:00
parent b6e00ea196
commit 1e1791652e
2 changed files with 3 additions and 2 deletions

View File

@ -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:

View File

@ -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):