Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source: format settings have no effect #566

Open
rsteube opened this issue Jan 4, 2025 · 0 comments · May be fixed by #567
Open

Source: format settings have no effect #566

rsteube opened this issue Jan 4, 2025 · 0 comments · May be fixed by #567

Comments

@rsteube
Copy link

rsteube commented Jan 4, 2025

Describe the bug

Settings like Width/Height from a sourced file aren't adopted.

Setup
Please complete the following information along with version numbers, if applicable.

  • OS: manjaro/sway
  • Shell elvish/bash
  • Terminal Emulator: foot
  • Terminal Multiplexer: none

To Reproduce
Steps to reproduce the behavior:

  1. Create a tape with width/height settings
  2. Source it in another tape
  3. Record gif
  4. See resolution differ from settings.

Source Code

Require example

Set Theme "Snazzy"
Set FontSize 30
Set Width 1400
Set Height 300
Set Padding 0

Set Shell "bash"

Hide
Type@0.01 "source <(example _carapace bash)" Enter
Type@0.01 "clear" Enter
Show
Source ../bash.tape

Output out/word.bash.gif
Output out/word.bash.ascii

Type "example " Sleep 1 Tab@1 2
Type "q" # exit `more`
Type "ac" Sleep 1 Tab@1

Sleep 2

Expected behavior

Adopt settings from sourced file.

Screenshots

  • current

word bash_bug

  • expected
    word bash_fixed

Additional context
Add any other context about the problem here.

@rsteube rsteube linked a pull request Jan 4, 2025 that will close this issue
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 a pull request may close this issue.

1 participant