зеркало из
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
Этот коммит содержится в:
@@ -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;
|
||||
|
||||
Ссылка в новой задаче
Block a user