1
0
зеркало из https://github.com/glebtv/tui-textarea.git synced 2026-09-03 14:26:17 +03:00

show explicit error message when both crossterm and termion are not enabled

Этот коммит содержится в:
rhysd
2023-04-14 22:04:02 +09:00
родитель 87c6b03edf
Коммит fd3306343e

Просмотреть файл

@@ -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");
#[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 highlight;
mod history;