Skip to content

Commit 373991c

Browse files
committed
fix: only re-export cursor position for windows when the events feature flag is enabled
1 parent e7aefd6 commit 373991c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cursor/sys.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#[cfg(feature = "events")]
55
pub use self::unix::position;
66
#[cfg(windows)]
7+
#[cfg(feature = "events")]
78
pub use self::windows::position;
89
#[cfg(windows)]
910
pub(crate) use self::windows::{

0 commit comments

Comments
 (0)