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

Fix line counting algo #140

Open
quackduck opened this issue Jan 5, 2023 · 2 comments
Open

Fix line counting algo #140

quackduck opened this issue Jan 5, 2023 · 2 comments

Comments

@quackduck
Copy link
Owner

Demo of the issue: https://asciinema.org/a/1dhK4SCMVSAnm8l6FFBdvxtcZ

Function with the problem:

devzat/main.go

Line 749 in da1ceb1

func calculateLinesTaken(u *User, s string, width int) {

@Arkaeriit
Copy link
Contributor

What needs to be done here is quite a lot of work. Should we try to use a TUI lib to handle it or should we try to do it by hand?

@kovmir
Copy link

kovmir commented Mar 25, 2024

TUI lib definitely.

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

3 participants