-
-
Notifications
You must be signed in to change notification settings - Fork 307
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
Support brick-2 and vty-6. #2112
Comments
I am working on this. In theory, this requires very minimal change in hledger-ui:
There is, however, a bug:
I'll see whether the bug is in |
Wonderful ! I was thinking about this, thanks for working on it. |
(It will probably not get merged in master until stackage nightly gets brick 2.) |
I'm happy to handle the CI part. |
(Sorry for the stream of messages, last one:) It's worth testing in as many windows terminal environments as you can find, we'll probably get different bug reports for each one. |
Did you try latest versions of vty and brick? The latest versions might have fixed the rendering issue. |
I guess most of this bugreports will be safely redirected to vty/vty-windows in that case, with all being "ok, in that terminal emulator it almost works, except for that and that feature" =) We can explicitly mention that |
Yes, I tested both master and latest releases. This is not a rendering issue, it is a "restore terminal to its prior state" issue. |
Well, for now the list of supported terminal emulators is a WIP, https://github.com/chhackett/vty-windows/wiki/TerminalSupport with latest info. The bug with terminal state is fixed, I'll open the PR in the next couple of days. |
Done, #2126. Related to this issue, hledger-ui is now out of stackage nightly. I'm assuming supporting both old and new vty in the same release would be too much CPP and hassle (?), so getting back in to stackage will require a new release that supports and requires vty 6.1+ and brick 2.1.1+. Our 1.32.1 bugfix release is pending. But probably squeezing a big vty/brick upgrade into a bugfix release would be a bad idea. |
I might do a separate hledger-ui-1.32.1 release after this has landed and we have had some cross platform user testing. (Need to figure out simpler release process for individual packages..) |
Though, windows support is a feature worth shouting about, not a bugfix.. |
Thank you! On-topic: since we got
Indeed =) |
I'm waiting for brick 2.3 support because brick 2.3 has functions that I want. |
I think it can be closed now. |
brick-2 depends on vty-6 which introduces breaking changes.
From vty-6 onward, you have to depend on vty-crossplatform, vty-windows, or vty-unix for
mkVty
function.If you don't use
mkVty
function, then you don't need to depend on one of platform-specific vty packages.The text was updated successfully, but these errors were encountered: