Posted 19 July 2015 - 03:37 PM
I've been working on this buffer system for my OS so that I can have a multitasked system. I didn't want to use the Window API due to its inefficiency (i.e. refreshing the whole vertical way for 1 term.write) and I can't use something already made due to a lack of the ability to tell buffers not to render to certain parts of the screen while they're active.
Anyway, I'm getting a weird glitch with my buffer system: Edit doesn't render text. The screen is blank except the for the control menu thingy. You can type and click on stuff to move your pointer, but there is no text. I'm completely lost as to why this is happening, I've tried putting a sleep in write to see if it was rendering then getting overlapped, but nothing. I don't know what other function could be causing it.
The buffer is dependant on Game-Engine for console logs, and is only distributed through my OS. The easiest way to get it is to run:
pastebin run 6JU1nY50 5 update
and install my entire OS. (you can do "sudo rm startup", reboot, and do "rm *" to get rid of it)
Test code:
9XFP8QEK
Just run:
oldEdit <filename>
to see the problem
(no, it's not a different edit program, I just have replaced the default edit in the OS and moved CC's edit to oldEdit)
You should also note the OS will give a warning message and then crash if you use a version under 1.7.4
Anyway, I'm getting a weird glitch with my buffer system: Edit doesn't render text. The screen is blank except the for the control menu thingy. You can type and click on stuff to move your pointer, but there is no text. I'm completely lost as to why this is happening, I've tried putting a sleep in write to see if it was rendering then getting overlapped, but nothing. I don't know what other function could be causing it.
The buffer is dependant on Game-Engine for console logs, and is only distributed through my OS. The easiest way to get it is to run:
pastebin run 6JU1nY50 5 update
and install my entire OS. (you can do "sudo rm startup", reboot, and do "rm *" to get rid of it)
Test code:
9XFP8QEK
Just run:
oldEdit <filename>
to see the problem
(no, it's not a different edit program, I just have replaced the default edit in the OS and moved CC's edit to oldEdit)
You should also note the OS will give a warning message and then crash if you use a version under 1.7.4
Edited on 19 July 2015 - 01:41 PM