Remove unused variable

This commit is contained in:
Johannes Altmanninger
2025-03-20 22:02:38 +01:00
parent c0ad15fbc5
commit 7d5fb623c6

View File

@@ -592,9 +592,6 @@ pub(crate) enum Capability {
pub(crate) static SYNCHRONIZED_OUTPUT_SUPPORTED: RelaxedAtomicBool = RelaxedAtomicBool::new(false);
pub(crate) static CURSOR_POSITION_REPORTING_SUPPORTED: RelaxedAtomicBool =
RelaxedAtomicBool::new(false);
pub fn kitty_progressive_enhancements_query() -> &'static [u8] {
if std::env::var_os("TERM").is_some_and(|term| term.as_os_str().as_bytes() == b"st-256color") {
return b"";
@@ -1266,7 +1263,6 @@ fn parse_csi(&mut self, buffer: &mut Vec<u8>) -> Option<KeyEvent> {
FLOG!(reader, "Received cursor position report y:", y, "x:", x);
let wait_guard = self.blocking_wait();
let Some(BlockingWait::CursorPosition(wait)) = &*wait_guard else {
CURSOR_POSITION_REPORTING_SUPPORTED.store(true);
return None;
};
let continuation = match wait {