зеркало из
https://github.com/glebtv/tui-textarea.git
synced 2026-09-07 16:05:50 +03:00
fix checking tui-rs and ratatui are exclusive on using custom backend
Этот коммит содержится в:
10
src/lib.rs
10
src/lib.rs
@@ -5,10 +5,14 @@
|
|||||||
#![doc = include_str!("../README.md")]
|
#![doc = include_str!("../README.md")]
|
||||||
|
|
||||||
#[cfg(all(
|
#[cfg(all(
|
||||||
any(feature = "crossterm", feature = "termion"),
|
any(feature = "crossterm", feature = "termion", feature = "your-backend"),
|
||||||
any(feature = "ratatui-crossterm", feature = "ratatui-termion"),
|
any(
|
||||||
|
feature = "ratatui-crossterm",
|
||||||
|
feature = "ratatui-termion",
|
||||||
|
feature = "ratatui-your-backend"
|
||||||
|
),
|
||||||
))]
|
))]
|
||||||
compile_error!("tui-rs support and ratatui support are exclussive. only one of them can be enabled at the same time. see https://github.com/rhysd/tui-textarea");
|
compile_error!("tui-rs support and ratatui support are exclussive. only one of them can be enabled at the same time. see https://github.com/rhysd/tui-textarea#installation");
|
||||||
|
|
||||||
mod cursor;
|
mod cursor;
|
||||||
mod highlight;
|
mod highlight;
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user