|
@@ -45,14 +45,16 @@ def merge(color_string):
|
|
|
return color_string.replace("m\x1b[", ";")
|
|
|
|
|
|
|
|
|
+
|
|
|
+
|
|
|
|
|
|
cleaner = re.compile(r"\x1b\[[0-9;]*[A-Zmh]")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
-makeNL = re.compile(r"\x1b\[[0-9;]*[J]")
|
|
|
+
|
|
|
+makeNL = re.compile(r"\x1b\[[0-9;]*[JK]")
|
|
|
|
|
|
|
|
|
def treatAsNL(line):
|
|
@@ -426,6 +428,9 @@ class Player(protocol.Protocol):
|
|
|
self.queue_player.put(chunk)
|
|
|
|
|
|
if chunk == b"~":
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
self.observer.emit("hotkey", None)
|
|
|
|
|
|
def connectionLost(self, why):
|