Commit Graph

72 Commits

Author SHA1 Message Date
minjaesong
8997b83114 edit.js: minor asthetic fix 2021-04-22 11:15:51 +09:00
minjaesong
320aea286d Merge branch 'master' of github.com:curioustorvald/tsvm 2021-04-22 10:58:22 +09:00
minjaesong
e862edd67f edit.js: adding/deleting a text or a line works again 2021-04-22 10:56:20 +09:00
minjaesong
77ff22f968 edit.js: adding a character anywhere on the line works, but not the bksp 2021-04-22 10:40:41 +09:00
minjaesong
4066ddd7a5 edit.js: hor/vert scroll works even when cursorCol != cursoringCol 2021-04-22 10:13:36 +09:00
minjaesong
1ce7ebeac9 edit.js: highlighter position fixed when scroll > 0 2021-04-21 20:02:47 +09:00
minjaesong
823ca55496 edit.js: hor scroll also works; what left is doing vert scroll when col > 0 2021-04-21 17:47:51 +09:00
minjaesong
d348e56766 edit.js: scrolling is hard... vert scroll is honest-to-god working as it should 2021-04-21 17:34:34 +09:00
minjaesong
d85b1a99dc implementation of mmio 1024..2047 2021-04-20 14:49:58 +09:00
minjaesong
95c33f7d5e edit.js: horz scroll kinda works; vert scroll works flawlessly as long as COL is 1 2021-04-19 22:38:39 +09:00
minjaesong
1668211782 edit.js: caret row highlighter 2021-04-19 17:06:58 +09:00
minjaesong
aede935250 edit.js: vert scroll fixed, but not PgDn; hor scroll is still broken 2021-04-18 17:41:56 +09:00
minjaesong
6a1ce46f7b wtf 2021-04-17 22:56:19 +09:00
minjaesong
28d2fb6181 edit.js: completely new method of cursor moving thus everything is broken now :) 2021-04-17 18:03:08 +09:00
minjaesong
9465482fe2 edit.js: text nav in all four directions, home/end behaviour on shorter-than-screen-width line fixed, pageup/pagedown nav impl; default text colour is tad brighter 2021-04-17 11:36:10 +09:00
minjaesong
7a6b2573ca edit.js: text cursor moves intelligently on navigating lines, but scrolling is still wip 2021-04-17 10:39:55 +09:00
minjaesong
5554e0e927 edit.js: hit return to add a new line in the middle of the text 2021-04-16 17:58:19 +09:00
minjaesong
1fc01ab745 edit.js: home/end to move text cursor 2021-04-16 17:31:36 +09:00
minjaesong
74020199a6 more scroll thingy 2021-04-16 16:01:45 +09:00
minjaesong
3616d25cb6 edit.js: text line will scroll on cursor move 2021-04-16 13:39:58 +09:00
minjaesong
6ca20ce847 edit.js: scroll further left/right indicator 2021-04-16 11:38:50 +09:00
minjaesong
fba4ccb0cb edit.js: can scroll text horizontally but pretty much wip 2021-04-16 11:25:11 +09:00
minjaesong
36e043fd16 edit.js: can move text cursor left/right 2021-04-16 10:19:09 +09:00
minjaesong
6862604562 edit.js: cosmetic fix 2021-04-14 13:19:28 +09:00
minjaesong
adaeadd6ca edit.js: can read existing files; change on tty key read that arrow keys are now distinguished from ctrl-S or something 2021-04-14 11:35:39 +09:00
minjaesong
390176591d edit.js: can scroll down except a cosmetic problem 2021-04-13 12:00:18 +09:00
minjaesong
552f620c2c edit.js to shitty newline 2021-04-10 17:24:43 +09:00
minjaesong
64376f09b2 edit.js can write file to disk 2021-04-10 17:03:33 +09:00
minjaesong
67668e6423 get filename for edit 2021-04-08 15:35:57 +09:00
minjaesong
922e24c6fd reading keys using con.getch 2021-04-07 21:14:04 +09:00
minjaesong
907cb9c376 why the key is not latching? 2021-04-07 17:59:24 +09:00
minjaesong
18a5f74029 edit: much much simpler interface xD 2021-04-07 17:17:20 +09:00
minjaesong
fb27f15a63 one more line for edit's text buffer 2021-04-06 23:20:06 +09:00
minjaesong
82107fa80d editor wip 2021-04-06 19:53:11 +09:00
minjaesong
0ce0b52b1b basic update 2021-04-06 17:47:35 +09:00
minjaesong
7fe1ced740 text editor mockup 2021-04-06 11:52:43 +09:00
minjaesong
c020b60fc2 shell for the portable wip 2021-04-05 20:49:32 +09:00
minjaesong
b1dc81bc58 trying to fix the render 2021-04-03 17:49:00 +09:00
minjaesong
f1f5d46c8e tui wip 2021-02-01 15:26:37 +09:00
minjaesong
6eae250cc0 some text menu thingy 2021-01-29 17:05:34 +09:00
minjaesong
795fa7f85f tui window demo: bouncing ball 2021-01-29 14:50:35 +09:00
minjaesong
d963cf8294 behaviour of con.addch changed - no longer advances cursor 2021-01-29 14:26:23 +09:00
minjaesong
c73a725466 graphics: preventing cursorxy(32,80) from scrolling the screen 2021-01-29 13:43:45 +09:00
minjaesong
91fdc7ec99 dos: text substitution using dollar sign 2021-01-29 10:59:46 +09:00
minjaesong
b73c000d43 basic update 2021-01-05 10:30:27 +09:00
minjaesong
71918ce1e9 henceforward the development of Terran BASIC is continued on curioustorvald/TerranBASIC 2020-12-28 11:52:51 +09:00
minjaesong
d1889c723a basic: somewhat improved error messages 2020-12-28 11:33:16 +09:00
minjaesong
a863d263d1 basicdoc: update 2020-12-28 11:18:13 +09:00
minjaesong
b00ac13cd2 basic: defun f call to run on complex expr as argument, not just a constant you dumbass 2020-12-28 10:04:23 +09:00
minjaesong
d379abbc3e basic: sample program PLOTTER 2020-12-27 23:15:16 +09:00