mirror of
https://seed.radicle.dev/rad:z39mP9rQAaGmERfUMPULfPUi473tY.git
synced 2026-11-29 06:20:28 +08:00
Add clipboard support for text inputs
This commit is contained in:
@@ -21,6 +21,7 @@ pub struct TextInput {
|
||||
impl TextInput {
|
||||
pub const PROP_MULTILINE: &str = "multiline";
|
||||
pub const CMD_NEWLINE: &str = tui_realm_textarea::TEXTAREA_CMD_NEWLINE;
|
||||
pub const CMD_PASTE: &str = tui_realm_textarea::TEXTAREA_CMD_PASTE;
|
||||
|
||||
pub fn new(theme: Theme, title: &str) -> Self {
|
||||
let input = TextArea::default()
|
||||
|
||||
Reference in New Issue
Block a user