mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-30 10:06:12 +00:00
successfully setting the terminal title to bat's input's names
This commit is contained in:
4 files changed
+14
-10
No files matched your search
+2
-2
@@ -13,7 +13,7 @@ use crate::error::*;
|
||||
/// This tells bat how to refer to the input.
|
||||
#[derive(Clone)]
|
||||
pub struct InputDescription {
|
||||
pub(crate) name: String,
|
||||
pub name: String,
|
||||
|
||||
/// The input title.
|
||||
/// This replaces the name if provided.
|
||||
@@ -94,7 +94,7 @@ pub(crate) struct InputMetadata {
|
||||
pub struct Input<'a> {
|
||||
pub(crate) kind: InputKind<'a>,
|
||||
pub(crate) metadata: InputMetadata,
|
||||
pub(crate) description: InputDescription,
|
||||
pub description: InputDescription,
|
||||
}
|
||||
|
||||
pub(crate) enum OpenedInputKind {
|
||||
|
||||
Reference in new issue
Block a user