Skip to content

Bug Report: unexpected replacement of tabs with spaces #356

@xoism

Description

@xoism

Any tab entered into Boop, either via typing or the result of a script, is converted into 4 spaces.

Expected behavior:

  • The only changes made to the text should be done by the scripts themselves.
  • Result text should be exactly what the script outputs.

Steps to reproduce:

  1. Open boop
  2. press tab, a, s, d, f
  3. copy all text
  4. open terminal
  5. type echo " then paste then "
  6. compare output to echo "\tasdf"
/**
{
	"api": 1,
	"name": "Tab Test",
	"description": "Return tab + some text",
	"author": "xoism",
	"icon": "metamorphose",
	"tags": "test,tab"
}
**/

function main (state) {
	state.text = "\tasdf";
}
  1. copy output of above script
  2. perform same test in terminal as above

Boop version: 1.4.0
OS: macOS 12.6.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions