summaryrefslogtreecommitdiffstats
path: root/ui/src/components/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/components/mod.rs')
-rw-r--r--ui/src/components/mod.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/ui/src/components/mod.rs b/ui/src/components/mod.rs
index 498be780..5b921846 100644
--- a/ui/src/components/mod.rs
+++ b/ui/src/components/mod.rs
@@ -84,6 +84,11 @@ pub trait Component {
}
}
+pub fn copy_area_with_break(grid_dest: &mut CellBuffer, grid_src: &CellBuffer, dest: Area, src: Area) {
+
+
+}
+
/// Copy a source `Area` to a destination.
pub fn copy_area(grid_dest: &mut CellBuffer, grid_src: &CellBuffer, dest: Area, src: Area) {
if !is_valid_area!(dest) || !is_valid_area!(src) {
@@ -174,7 +179,7 @@ fn clear_area(grid: &mut CellBuffer, area: Area) {
}
}
-fn new_draft(context: &mut Context) -> Vec<u8> {
+fn new_draft(_context: &mut Context) -> Vec<u8> {
// TODO: Generate proper message-id https://www.jwz.org/doc/mid.html
let mut v = String::with_capacity(500);
v.push_str("From: \n");