mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 03:01:15 -03:00
Remove unused variable
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user