2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-03-07 06:49:19 +00:00

Fix ordering of width/height geometry

This commit is contained in:
Jarrod Johnson
2026-03-04 16:54:27 -05:00
parent a7c5b2478c
commit a4510ae58d

View File

@@ -45,7 +45,7 @@ def get_pixel_geometry_using_esc_14t():
if not response.startswith('\x1b[4;'):
return 0, 0
pixgeom = response[4:].split(';')
return int(pixgeom[0]), int(pixgeom[1])
return int(pixgeom[1]), int(pixgeom[0])
def get_cell_geometry_using_esc_18t():
sys.stdout.write('\x1b[18t')