feat: adding gif
This commit is contained in:
@@ -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
BIN
assets/demo.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 631 KiB |
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user