[go-nuts] Re: Is it possible to segment CMD window on Windows and segment Terminal window on Linux with golang?

2020-04-12 Thread 洪嘉鴻
I don't think it is simple to use because it seems to configure lots of settings. However, I'll try this. Thanks for your information! Max Mandolyte於 2020年4月11日星期六 UTC+8下午6時57分25秒寫道: > > Might review how the micro editor handles it... as an editor functioning > in a terminal window and cross

[go-nuts] Re: Is it possible to segment CMD window on Windows and segment Terminal window on Linux with golang?

2020-04-12 Thread 洪嘉鴻
I've tried this which you offered, I don't think that it is correct for the box. Besides, I have no idea why "H" disappeared with Linux executable? However, I think I'll try to use this for my tasks. Thanks for your information! Max Jason E. Aten於 2020年4月10日星期五

[go-nuts] Re: Is it possible to segment CMD window on Windows and segment Terminal window on Linux with golang?

2020-04-12 Thread 洪嘉鴻
I think that you are right. I found that the "Hello World" executables are a little different. In fact, the executables are compiled from the same source code, which means that it might cause a lot of problems if I use it. I'll try to create a web browser. Thanks for your suggestions! Max Jason

[go-nuts] Re: Is it possible to segment CMD window on Windows and segment Terminal window on Linux with golang?

2020-04-11 Thread Mandolyte
Might review how the micro editor handles it... as an editor functioning in a terminal window and cross platform, it is quite stellar. https://pkg.go.dev/mod/github.com/zyedidia/micro@v1.4.1 On Friday, April 10, 2020 at 6:49:12 AM UTC-4, Jason E. Aten wrote: > > If you insist on terminal (which

[go-nuts] Re: Is it possible to segment CMD window on Windows and segment Terminal window on Linux with golang?

2020-04-10 Thread Jason E. Aten
If you insist on terminal (which as I pointed out, is a mistake; I have made it and learned better), then https://github.com/rivo/tview is probably the better choice versus termui. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To

[go-nuts] Re: Is it possible to segment CMD window on Windows and segment Terminal window on Linux with golang?

2020-04-10 Thread Jason E. Aten
Terminals are a pain to work with. Since you want cross-platform anyway, you should just create a little web server within your Go program, and serve webpages to a browser. Believe this, it will save you vast amounts of time and energy. -- You received this message because you are subscribed to

[go-nuts] Re: Is it possible to segment CMD window on Windows and segment Terminal window on Linux with golang?

2020-04-10 Thread 洪嘉鴻
It looks interesting! However, it looks too difficult for me to do this. I just found this and use cross-compile to build Windows and Linux executables with Win10. Then, I executed the executables on Win10 and Linux(with VMware). Both of them could work. Now I'm

[go-nuts] Re: Is it possible to segment CMD window on Windows and segment Terminal window on Linux with golang?

2020-04-10 Thread Jason E. Aten
https://github.com/gdamore/tcell/ tcell lets you do fine grain control of the terminal. https://github.com/gdamore/proxima5 is an example game written with it. However be aware the the terminal on Windows is generally... garbage. There aren't any