Use an overlay window for window resizing

Also implement a remote command to resize windows
This commit is contained in:
Kovid Goyal
2018-05-17 23:26:41 +05:30
parent 7c47bd547f
commit 8ea84c97d5
16 changed files with 246 additions and 85 deletions

View File

@@ -236,7 +236,9 @@ class Loop:
self.handler.on_text(chunk, self.in_bracketed_paste)
def _on_dcs(self, dcs):
pass
if dcs.startswith('@kitty-cmd'):
import json
self.handler.on_kitty_cmd_response(json.loads(dcs[len('@kitty-cmd'):]))
def _on_csi(self, csi):
q = csi[-1]