Start work on showing consistent replica ids for channel buffers

Co-authored-by: Mikayla <mikayla@zed.dev>
This commit is contained in:
Max Brunsfeld
2023-08-23 18:37:01 -07:00
committed by Mikayla
co-authored by Mikayla
parent 11ef5e2740
commit 7e83138805
8 changed files with 202 additions and 7 deletions
+4
View File
@@ -171,4 +171,8 @@ impl ChannelBuffer {
.channel_for_id(self.channel_id)
.cloned()
}
pub fn replica_id(&self, cx: &AppContext) -> u16 {
self.buffer.read(cx).replica_id()
}
}