Skip to content

Source: format settings have no effect #566

Open
@rsteube

Description

@rsteube

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions