From bf773db45171b59a758b7dabf9f10ffb8852dcf0 Mon Sep 17 00:00:00 2001 From: Gokul Soumya Date: Fri, 5 Nov 2021 00:03:31 +0530 Subject: Show infobox with register contents --- helix-core/src/register.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'helix-core/src') diff --git a/helix-core/src/register.rs b/helix-core/src/register.rs index b9eb497d..b39e4034 100644 --- a/helix-core/src/register.rs +++ b/helix-core/src/register.rs @@ -68,4 +68,8 @@ impl Registers { pub fn read(&self, name: char) -> Option<&[String]> { self.get(name).map(|reg| reg.read()) } + + pub fn inner(&self) -> &HashMap { + &self.inner + } } -- cgit v1.2.3-70-g09d2