summaryrefslogtreecommitdiffstats
path: root/src/tab.rs
diff options
context:
space:
mode:
authorqkzk <qu3nt1n@gmail.com>2023-11-05 14:53:06 +0100
committerqkzk <qu3nt1n@gmail.com>2023-11-05 14:53:06 +0100
commit5afa594ed846ab9317072adbf4cbc53ac8a8ec84 (patch)
tree35c04d974ce12973e17c2c7ad9105b6291d5b0fb /src/tab.rs
parentc4a3e928dcbca9aa1db876d9a51d0f838f6913b4 (diff)
select prev don't return a result
Diffstat (limited to 'src/tab.rs')
-rw-r--r--src/tab.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tab.rs b/src/tab.rs
index 5a31edc..369e3eb 100644
--- a/src/tab.rs
+++ b/src/tab.rs
@@ -543,7 +543,8 @@ impl Tab {
/// Select the previous sibling of the current node.
pub fn select_prev(&mut self) -> Result<()> {
- self.tree.select_prev()
+ self.tree.select_prev();
+ Ok(())
}
/// Select the next sibling of the current node.