mirror of
https://github.com/mnaberez/py65.git
synced 2025-01-06 13:31:08 +00:00
Added ">" as a monitor shortcut for the fill command for consistency with VICE.
This commit is contained in:
parent
6d998b117e
commit
b1eb16d8fd
@ -10,6 +10,9 @@
|
||||
|
||||
- Applied patch by Ed Spittles that fixes the behavior of the BREAK
|
||||
and UNUSED flags in the processor status register. Closes #16.
|
||||
|
||||
- Added ">" as a monitor shortcut for the fill command for
|
||||
consistency with VICE.
|
||||
|
||||
0.7 (2009-09-03)
|
||||
|
||||
|
@ -55,6 +55,7 @@ class Monitor(cmd.Cmd):
|
||||
'd': 'disassemble',
|
||||
'dl': 'delete_label',
|
||||
'f': 'fill',
|
||||
'>': 'fill',
|
||||
'g': 'goto',
|
||||
'l': 'load',
|
||||
'm': 'mem',
|
||||
|
@ -184,7 +184,7 @@ class MonitorTests(unittest.TestCase):
|
||||
|
||||
# fill
|
||||
|
||||
def test_shortcut_for_fill(self):
|
||||
def test_shortcut_f_for_fill(self):
|
||||
stdout = StringIO()
|
||||
mon = Monitor(stdout=stdout)
|
||||
mon.do_help('f')
|
||||
@ -192,6 +192,14 @@ class MonitorTests(unittest.TestCase):
|
||||
out = stdout.getvalue()
|
||||
self.assertTrue(out.startswith('fill'))
|
||||
|
||||
def test_shortcut_gt_for_fill(self):
|
||||
stdout = StringIO()
|
||||
mon = Monitor(stdout=stdout)
|
||||
mon.do_help('>')
|
||||
|
||||
out = stdout.getvalue()
|
||||
self.assertTrue(out.startswith('fill'))
|
||||
|
||||
# goto
|
||||
|
||||
def test_shortcut_for_goto(self):
|
||||
|
Loading…
Reference in New Issue
Block a user