diff options
author | Canop <cano.petrole@gmail.com> | 2019-09-18 13:51:22 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2019-09-18 13:51:22 +0200 |
commit | eb8188d223946cb515f846b82290011ddcc045ed (patch) | |
tree | c9df421a3af244e209d76efbbe6e5cc3c40b2e37 /src/browser_states.rs | |
parent | 3a1e635b635cb6fec83b04f9cbde70c9fcbbf4d2 (diff) |
smarter cut of the status line when it doesn't fit the console's width
Diffstat (limited to 'src/browser_states.rs')
-rw-r--r-- | src/browser_states.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/browser_states.rs b/src/browser_states.rs index 8fb3703..4e49b71 100644 --- a/src/browser_states.rs +++ b/src/browser_states.rs @@ -393,8 +393,7 @@ impl AppState for BrowserState { let line = self.displayed_tree().selected_line(); screen.write_status_text( &format!( - "Hit <enter> to {} : {}", - &verb.invocation.key, + "Hit <enter> for: {}", verb.description_for(line.path.clone(), &invocation.args) ) .to_string(), |