зеркало из
https://github.com/glebtv/tui-textarea.git
synced 2026-09-07 16:05:50 +03:00
show explicit error message when both crossterm and termion are not enabled
Этот коммит содержится в:
@@ -10,6 +10,14 @@
|
|||||||
))]
|
))]
|
||||||
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");
|
||||||
|
|
||||||
|
#[cfg(not(any(
|
||||||
|
feature = "crossterm",
|
||||||
|
feature = "termion",
|
||||||
|
feature = "ratatui-crossterm",
|
||||||
|
feature = "ratatui-termion",
|
||||||
|
)))]
|
||||||
|
compile_error!("neither crossterm nor termion is enabled in features. see https://github.com/rhysd/tui-textarea");
|
||||||
|
|
||||||
mod cursor;
|
mod cursor;
|
||||||
mod highlight;
|
mod highlight;
|
||||||
mod history;
|
mod history;
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user