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

fix checking tui-rs and ratatui are exclusive on using custom backend

Этот коммит содержится в:
rhysd
2023-10-01 23:24:54 +09:00
родитель 92c107c939
Коммит d1ce01cb9a

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

@@ -5,10 +5,14 @@
#![doc = include_str!("../README.md")]
#[cfg(all(
any(feature = "crossterm", feature = "termion"),
any(feature = "ratatui-crossterm", feature = "ratatui-termion"),
any(feature = "crossterm", feature = "termion", feature = "your-backend"),
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 highlight;