-
Notifications
You must be signed in to change notification settings - Fork 17
Add missing ocaml_terminal_get_sigwinch for unsupported platform
#38
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
Conversation
|
From a certain perspective, it is preferable to delegate the injection of such a function to the user. It has been mentioned that:
Can you elaborate a bit more on your goal in relation to MirageOS? PS: CraigFe gave me a hand on |
|
Yeah I was wondering if the absence was intentional, but then the function Regarding my use-case, I was trying to compile PS: Oh cool! Yes let's go for beers soon! |
I don't really have an opinion on this specific subject. In my opinion, the problem is broader if we take your objective into account. In other words, if it's really a question of making a unikernel (Solo5) which includes
Currently, you should have more problems than this function since |
|
Ha yes but I've switched
|
|
It's an interesting idea indeed. I need to spend some time thinking through all the implications, but a proposal along these lines would be interesting to continue the discussion. |
|
Added a commit to move the C stubs out of |
|
It seems good for me, |
CHANGES: - Be compatible with MirageOS and remove `ocaml_terminal_get_sigwinch` (@art-w, craigfe/progress#38) - Clear all lines in `interject_with` (@Gbury, craigfe/progress#30) - Add `Display.remove_line` (@mbarbin, craigfe/progress#26) - Fix compilation for OCaml 5.2 (reported by @Gbury, fixed by @dinosaure, craigfe/progress#40) - Add `Display.{pause,resume}` (@Gbury, craigfe/progress#37)
Long time no see, I hope you are doing great!
This is a quick fix for compiling for mirage... but let me know if you had something else in mind :)