summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/config')
-rw-r--r--src/config/input.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/config/input.rs b/src/config/input.rs
index bb2a9fb..eaa567a 100644
--- a/src/config/input.rs
+++ b/src/config/input.rs
@@ -94,6 +94,14 @@ impl Input {
self.data_urls.clone()
}
+ pub fn text(&self) -> String {
+ self.text.clone()
+ }
+
+ pub fn set_text(&mut self, text: String) {
+ self.text = text;
+ }
+
pub fn role(&self) -> Option<&Role> {
self.context.role.as_ref()
}