successfully setting the terminal title to bat's input's names

This commit is contained in:
Oliver looney committed 2023-12-10 17:17:19 +00:00
1 parent 4863d428dd
commit b9b554248d
4 files changed
+14 -10

No files matched your search

+2 -2
View File
@@ -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 {