Creating my own terminal.
Started by BabyCodder, Apr 14 2013 12:02 AM
13 replies to this topic
#1
Posted 14 April 2013 - 12:02 AM
Hey! I am creating a OS but I am stuck on one thing. The page for people to code there own programs. I am working on a terminal in a screen but I encounter 2 problems. 1) When you exit the terminal and click back on it you cannot go through the text written there. It's like its just a visual thing. 2) When they write they can go thurther than I would like them to. I would like the box for the text to be like the normal CraftOS but it does not alow running of programs and it and there is none of the average programs. It just is a text box for coding. I know how to write the data to a file but I have the problems above. Any help would be apritiated. Thanks!
#2
Posted 14 April 2013 - 03:40 AM
Look at the rom/programs/edit program. You should be able to modify it to fit your needs.
#3
Posted 14 April 2013 - 04:27 AM
You need to post your current code for us to help you with a problem in it.
#4
Posted 14 April 2013 - 06:54 AM
Bubba, on 14 April 2013 - 04:27 AM, said:
You need to post your current code for us to help you with a problem in it.
Mads, on 14 April 2013 - 03:40 AM, said:
Look at the rom/programs/edit program. You should be able to modify it to fit your needs.
#5
Posted 14 April 2013 - 09:16 AM
I checked out the edit program... got confused. Could anybody provide a little more basic information on how to do this?
#6
Posted 14 April 2013 - 10:09 AM
Have you tried fs API?
#8
Posted 14 April 2013 - 11:34 AM
You need to explain better.
#9
Posted 14 April 2013 - 12:24 PM
We can't really help with such a vague description of your problem.
#10
Posted 14 April 2013 - 07:28 PM
If im not mistaken his problem is making text wrap to the next line when it hits the edge of the screen. This correct babycodder?
#11
Posted 14 April 2013 - 08:44 PM
Sariaz, on 14 April 2013 - 07:28 PM, said:
If im not mistaken his problem is making text wrap to the next line when it hits the edge of the screen. This correct babycodder?
Spoiler
#12
Posted 15 April 2013 - 05:36 AM
By not there and just visual do you mean its on the screen but not saved or the coding window is now blank after swiching out and back to it?
#14
Posted 15 April 2013 - 05:58 AM
Mind providing some screenshots so we can visualize it better?
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users











