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

Hard tabs are not rendered #1

Closed
rhysd opened this issue Jun 21, 2022 · 0 comments
Closed

Hard tabs are not rendered #1

rhysd opened this issue Jun 21, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@rhysd
Copy link
Owner

rhysd commented Jun 21, 2022

Repro

Save the following code as foo.go.

package main

func main() {
	println("hello")
	if true {
		println("true")
	}
}

Then run cargo run --example editor foo.go

Expected behavior

Hard tabs are rendered as tabs.

package main

func main() {
    println("hello")
    if true {
        println("true")
    }
}

Actual behavior

Hard tabs are not rendered.

package main

func main() {
println("hello")
if true {
println("true")
}
}

Environment

  • iTerm2
  • tui-textarea: v0.1.0 with default features only
  • tui: v0.18.0
  • Backend: crossterm
  • Rust: 1.60.0
@rhysd rhysd added the bug Something isn't working label Jun 21, 2022
@rhysd rhysd closed this as completed in 92f8cec Jun 21, 2022
rhysd added a commit that referenced this issue Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant