aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/application.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-11-08 01:03:08 +0000
committerBlaž Hrastnik2021-11-08 01:03:08 +0000
commit8b85903116fdfdc177bf2ca171831674144de70a (patch)
tree65458c5a1ef79bdeed43e7c6f5c8858222e192bc /helix-term/src/application.rs
parent09f5796537ffe0ae6b1278fc4d783a7c2eb4b8c1 (diff)
wip
Diffstat (limited to 'helix-term/src/application.rs')
-rw-r--r--helix-term/src/application.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs
index 0fb4e479..faf93b09 100644
--- a/helix-term/src/application.rs
+++ b/helix-term/src/application.rs
@@ -381,6 +381,7 @@ impl Application {
Some(i) => {
let item = debugger.breakpoints.get_mut(i).unwrap();
item.verified = breakpoint.verified;
+ // TODO: wasteful clones
item.message = breakpoint.message.or_else(|| item.message.clone());
item.source = breakpoint.source.or_else(|| item.source.clone());
item.line = breakpoint.line.or(item.line);