Skip to content

add support for $FILENAME injection.#277

Open
i-amr wants to merge 2 commits into
Aloxaf:masterfrom
i-amr:master
Open

add support for $FILENAME injection.#277
i-amr wants to merge 2 commits into
Aloxaf:masterfrom
i-amr:master

Conversation

@i-amr

@i-amr i-amr commented Jun 18, 2026

Copy link
Copy Markdown

Features

  • Added support for $FILENAME placeholder in the --window-title flag.

Example Usage

silicon main.rs --window-title "\$FILENAME" -o main.png
  • Result: The window title will display main.rs.

i-amr added 2 commits June 18, 2026 17:16
### Features
* Added support for `$FILENAME` placeholder in the `--window-title` flag.

### Example Usage
```bash
silicon main.rs --window-title "\$FILENAME" -o main.png
```
* **Result:** The window title will display `main.rs`.
Automatically generates an output filename based on the input file extension (e.g., main.rs outputs to main.png) when the -o/--output flag is not explicitly provided.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant