termbox-go
termbox-go copied to clipboard
Switch screens
This is a draft regarding #162 #182 #206 because I'd be interested in such a functionality and the possibilities they imply. Those issues suggest adding functionality to switch between screens. Screens are also referred to as "alternate screen" or "cup mode".
This draft implements basic functionality to switch between screens, although I did not extensively test anything. I guess these three refer to a functionality similar to this:
(This is editbox.go with an added call to
SelectScreen(false)
after the initialization, for convenience I added it as screens.go
)
Notice how I can't override an existing character using a space.
Also note that it is impossible to read what characters were there before termbox
was started.
If I'm not mistaken, nsf has previously expressed that he is not interested in such a feature, so I'll wait for some feedback on this matter.