Fix swapper with active pane

This commit is contained in:
Ferran Basora 2020-01-22 09:08:25 +00:00
parent 6bdb92ef23
commit b5d5d41310
3 changed files with 2 additions and 3 deletions

2
Cargo.lock generated
View File

@ -240,7 +240,7 @@ dependencies = [
[[package]] [[package]]
name = "thumbs" name = "thumbs"
version = "0.3.0" version = "0.3.1"
dependencies = [ dependencies = [
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)", "clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
"regex 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "regex 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "thumbs" name = "thumbs"
version = "0.3.0" version = "0.3.1"
authors = ["Ferran Basora <fcsonline@gmail.com>"] authors = ["Ferran Basora <fcsonline@gmail.com>"]
edition = "2018" edition = "2018"
description = "A lightning fast version copy/pasting like vimium/vimperator" description = "A lightning fast version copy/pasting like vimium/vimperator"

View File

@ -87,7 +87,6 @@ impl<'a> Swapper<'a> {
let active_command = vec![ let active_command = vec![
"tmux", "tmux",
"list-panes", "list-panes",
"-s",
"-F", "-F",
"#{pane_id}:#{?pane_in_mode,1,0}:#{pane_height}:#{scroll_position}:#{?pane_active,active,nope}", "#{pane_id}:#{?pane_in_mode,1,0}:#{pane_height}:#{scroll_position}:#{?pane_active,active,nope}",
]; ];