Define special numbers in one place only

This commit is contained in:
Kovid Goyal
2021-01-12 05:17:15 +05:30
parent 2b12bcc07f
commit f06eee8fe1
4 changed files with 54 additions and 35 deletions

View File

@@ -8,6 +8,9 @@ from . import BaseTest
class TestKeys(BaseTest):
def test_encode_key_event(self):
pass
def test_encode_mouse_event(self):
NORMAL_PROTOCOL, UTF8_PROTOCOL, SGR_PROTOCOL, URXVT_PROTOCOL = range(4)
L, M, R = 1, 2, 3