Cleanup previous PR

This commit is contained in:
Kovid Goyal 2026-04-01 13:05:56 +05:30
parent 9d5f7b085c
commit 81d0e2dc8e
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
2 changed files with 1 additions and 6 deletions

View file

@ -170,8 +170,6 @@ Detailed list of changes
- A new option :opt:`palette_generate` to automatically generate the 256 color palette from the first 16 colors (:pull:`9426`)
- Add a testing framework for the :doc:`drag-and-drop protocol <dnd-protocol>` and tests covering the full drop flow, error handling, data integrity, MIME type negotiation, chunked transfer, and malformed-command handling
- For builtin key mappings automatically :ref:`fallback <mapping-fallback>` to matching the US-PC layout key when the pressed key has no matches and is a non-English character (:pull:`9671`)
- Allow drag and drop of windows to re-arrange them, move them to another

View file

@ -3,7 +3,7 @@
import errno
import re
from base64 import standard_b64decode, standard_b64encode
from base64 import standard_b64decode
from contextlib import contextmanager
from kitty.fast_data_types import (
@ -19,7 +19,6 @@
from . import BaseTest, parse_bytes
# ---- helpers ----------------------------------------------------------------
def _osc(payload: str) -> bytes:
@ -159,8 +158,6 @@ def dnd_test_window():
* ``screen`` Screen object whose window_id matches the fake window
* ``capture`` _WriteCapture accumulating bytes sent to the child
"""
from kitty.fast_data_types import get_options
from kitty.options.types import defaults
capture = _WriteCapture()
dnd_set_test_write_func(capture)
os_window_id, window_id = dnd_test_create_fake_window()