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

Bug Report: unexpected replacement of tabs with spaces #356

Open
xoism opened this issue Nov 26, 2022 · 0 comments
Open

Bug Report: unexpected replacement of tabs with spaces #356

xoism opened this issue Nov 26, 2022 · 0 comments

Comments

@xoism
Copy link

xoism commented Nov 26, 2022

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

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

No branches or pull requests

1 participant