[GH-ISSUE #17] is 32bit windows os supported? if not, please provide support #12

Closed
opened 2026-03-04 01:01:06 +03:00 by kerem · 4 comments
Owner

Originally created by @githubfanster on GitHub (Jan 12, 2018).
Original GitHub issue: https://github.com/rivo/tview/issues/17

tview works well in my 64bit windows 10 environment but we still have 32bit windows 7.x and 8.x machines.

i tried downloading (go get ...) in a 32bit windows 8.x machine, as well as creating a 32bit exe from my 64bit machine, and compilation step both failed with integer overflow error ...

F:\gowork\src\tviewdemo\presentation>go build tviewdemo\presentation

github.com/rivo/tview

....\github.com\rivo\tview\inputfield.go:157:15: constant 9223372036854775807 overflows int
....\github.com\rivo\tview\textview.go:452:9: constant 9223372036854775807 overflows int
....\github.com\rivo\tview\util.go:131:7: constant 9223372036854775807 overflows int

Originally created by @githubfanster on GitHub (Jan 12, 2018). Original GitHub issue: https://github.com/rivo/tview/issues/17 tview works well in my 64bit windows 10 environment but we still have 32bit windows 7.x and 8.x machines. i tried downloading (go get ...) in a 32bit windows 8.x machine, as well as creating a 32bit exe from my 64bit machine, and compilation step both failed with integer overflow error ... F:\gowork\src\tviewdemo\presentation>go build tviewdemo\presentation # github.com/rivo/tview ..\..\github.com\rivo\tview\inputfield.go:157:15: constant 9223372036854775807 overflows int ..\..\github.com\rivo\tview\textview.go:452:9: constant 9223372036854775807 overflows int ..\..\github.com\rivo\tview\util.go:131:7: constant 9223372036854775807 overflows int
kerem closed this issue 2026-03-04 01:01:06 +03:00
Author
Owner

@rivo commented on GitHub (Jan 12, 2018):

I fixed the offending code but haven't tried it on a 32bit machine yet. Could you please let me know if it works there now?

<!-- gh-comment-id:357164513 --> @rivo commented on GitHub (Jan 12, 2018): I fixed the offending code but haven't tried it on a 32bit machine yet. Could you please let me know if it works there now?
Author
Owner

@githubfanster commented on GitHub (Jan 12, 2018):

i did a go get -u github.com/rivo/tview, set GOARCH environment to 386, then built the presentation demo and the build / compilation succeeded. i was able to run the presentation demo, but as i change from one slide to another, the highlighting in the bottom row "menu" seemed a little off. if i am currently in "menuitem" 5, the menuitem label is obscured instead of highlighted properly (compared to the 64bit exe i built from the download from a few days ago)

so thanks so much for making it possible to compile to 32bit exe!!

<!-- gh-comment-id:357216977 --> @githubfanster commented on GitHub (Jan 12, 2018): i did a go get -u github.com/rivo/tview, set GOARCH environment to 386, then built the presentation demo and the build / compilation succeeded. i was able to run the presentation demo, but as i change from one slide to another, the highlighting in the bottom row "menu" seemed a little off. if i am currently in "menuitem" 5, the menuitem label is obscured instead of highlighted properly (compared to the 64bit exe i built from the download from a few days ago) so thanks so much for making it possible to compile to 32bit exe!!
Author
Owner

@rivo commented on GitHub (Jan 13, 2018):

I tried to run this on an old WinXP machine that I still had lying around. Couldn't get it to run. I think tcell doesn't support this (or I don't know how to configure WinXP for it). So unfortunately, I can't reproduce what you're seeing. I don't have any other 32bit machine.

I know one shouldn't use WinXP anymore but it would still be fun to be able to write stuff like this for old platforms. If you have an idea how to make it work, let me know.

<!-- gh-comment-id:357428244 --> @rivo commented on GitHub (Jan 13, 2018): I tried to run this on an old WinXP machine that I still had lying around. Couldn't get it to run. I think `tcell` doesn't support this (or I don't know how to configure WinXP for it). So unfortunately, I can't reproduce what you're seeing. I don't have any other 32bit machine. I know one shouldn't use WinXP anymore but it would still be fun to be able to write stuff like this for old platforms. If you have an idea how to make it work, let me know.
Author
Owner

@githubfanster commented on GitHub (Jan 14, 2018):

i tested tview on a windows 8.1 machine and it worked. i didn't pay
attention to the slight highlighting problem i reported but when i get back
to that machine at work i'll do so.
i have to see if we still have any xp machines around.

On Sat, Jan 13, 2018 at 7:34 PM, rivo notifications@github.com wrote:

I tried to run this on an old WinXP machine that I still had lying around.
Couldn't get it to run. I think tcell doesn't support this (or I don't
know how to configure WinXP for it). So unfortunately, I can't reproduce
what you're seeing. I don't have any other 32bit machine.

I know one shouldn't use WinXP anymore but it would still be fun to be
able to write stuff like this for old platforms. If you have an idea how to
make it work, let me know.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rivo/tview/issues/17#issuecomment-357428244, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AhuMfaDnAAED-IDxA2LSto64tsplj1K4ks5tKJSvgaJpZM4Rb1Z4
.

<!-- gh-comment-id:357485357 --> @githubfanster commented on GitHub (Jan 14, 2018): i tested tview on a windows 8.1 machine and it worked. i didn't pay attention to the slight highlighting problem i reported but when i get back to that machine at work i'll do so. i have to see if we still have any xp machines around. On Sat, Jan 13, 2018 at 7:34 PM, rivo <notifications@github.com> wrote: > I tried to run this on an old WinXP machine that I still had lying around. > Couldn't get it to run. I think tcell doesn't support this (or I don't > know how to configure WinXP for it). So unfortunately, I can't reproduce > what you're seeing. I don't have any other 32bit machine. > > I know one shouldn't use WinXP anymore but it would still be fun to be > able to write stuff like this for old platforms. If you have an idea how to > make it work, let me know. > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > <https://github.com/rivo/tview/issues/17#issuecomment-357428244>, or mute > the thread > <https://github.com/notifications/unsubscribe-auth/AhuMfaDnAAED-IDxA2LSto64tsplj1K4ks5tKJSvgaJpZM4Rb1Z4> > . >
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tview#12
No description provided.