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

revert the chages which migrates terminal library from nsf/termbox-go to gdamore/tcell #47

Merged
merged 1 commit into from
Jan 17, 2021

Conversation

ktr0731
Copy link
Owner

@ktr0731 ktr0731 commented Jan 17, 2021

I'm sorry for @tjmtmmnk, but I decided to revert a Pull Request which migrates the terminal library from nsf/termbox-go to gdamore/tcell. gdamore/tcell has a known bug that causes #17 and #46. A workaround is proposed in gdamore/tcell#194 (comment), but it requires a Cgo dependency and it doesn't reproduce in the latest macOS version (I don't know the detailed cause...).

Also, I think that go-fuzzyfinder shouldn't depend on Cgo dependencies because it is designed to use from various platforms such as macOS, Linux, and Windows, etc. Multi-compile is one of the greatest features of Go, so we want to continue to support multi-platform compile.

So, I revert the changes and I'm going to wait for terminal library migration until gdamore/tcell will be fixed the bug officially.

@ktr0731 ktr0731 self-assigned this Jan 17, 2021
@codecov
Copy link

codecov bot commented Jan 17, 2021

Codecov Report

Merging #47 (e99565a) into master (646e0e7) will increase coverage by 3.28%.
The diff coverage is 93.33%.

@@            Coverage Diff             @@
##           master      #47      +/-   ##
==========================================
+ Coverage   85.37%   88.65%   +3.28%     
==========================================
  Files           5        5              
  Lines         554      485      -69     
==========================================
- Hits          473      430      -43     
+ Misses         66       40      -26     
  Partials       15       15              

@tjmtmmnk
Copy link
Contributor

I understand.
I will explore some workaround when I have a time...

@ktr0731
Copy link
Owner Author

ktr0731 commented Jan 17, 2021

This bug is a very deep-rooted problem and may we have a long way to go, but let's do our best...

@ktr0731 ktr0731 merged commit f3bcd19 into master Jan 17, 2021
@ktr0731 ktr0731 deleted the revert-tcell branch January 17, 2021 06:50
tjmtmmnk added a commit to tjmtmmnk/go-fuzzyfinder that referenced this pull request Feb 21, 2021
…rmbox-go to gdamore/tcell (ktr0731#47)"

This reverts commit f3bcd19.

# Conflicts:
#	go.mod
#	go.sum
tjmtmmnk added a commit to tjmtmmnk/go-fuzzyfinder that referenced this pull request Feb 26, 2021
…rmbox-go to gdamore/tcell (ktr0731#47)"

This reverts commit f3bcd19.

# Conflicts:
#	go.mod
#	go.sum
tjmtmmnk added a commit to tjmtmmnk/go-fuzzyfinder that referenced this pull request Mar 12, 2021
…rmbox-go to gdamore/tcell (ktr0731#47)"

This reverts commit f3bcd19.

# Conflicts:
#	go.mod
#	go.sum
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

Successfully merging this pull request may close these issues.

2 participants