feat: adding gif

This commit is contained in:
2025-07-25 23:57:46 +02:00
parent 93b42bb1f9
commit e6549db6da
3 changed files with 5 additions and 4 deletions

View File

@@ -24,7 +24,7 @@ Edit filesystem operations like it's plain text, and then apply them in a contro
```bash
# Preview file tree and tags
noil .
noil .
# Edit in your $EDITOR
noil edit .

BIN
assets/demo.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 631 KiB

View File

@@ -109,7 +109,7 @@ async fn main() -> anyhow::Result<()> {
write_changes(&noil_content).await?;
todo!()
//todo!()
}
Some(Commands::Fmt {}) => {
let mut stdin = tokio::io::stdin();
@@ -224,12 +224,13 @@ async fn get_outputs(path: &Path, no_color: bool) -> anyhow::Result<String> {
let mut line = String::new();
write!(
&mut line,
"{}{} : {}{}",
" {}{} : {}{}",
{
if no_color {
prefix
} else if let Some(suffix) = prefix.strip_prefix(individual_prefix) {
&format!("*{individual_prefix}*{suffix}")
//&format!("*{individual_prefix}*{suffix}")
&format!("{individual_prefix}{suffix}")
} else {
prefix
}