Commit Graph

16 Commits

Author SHA1 Message Date
Izaya 39e9b1765d immediately unsave the cursor position, as a neat trick 2023-09-29 15:35:29 +10:00
Izaya f83b8c999c fix lines longer than the screen causing weird scrolling artifacts, and avoid superfluous history entries 2023-09-29 10:15:25 +10:00
Izaya a533748d55 ^C now terminates line mode input with an error 2023-06-07 00:12:50 +10:00
Izaya 0db31a2e27 added some more keyboard shortcuts to io.read linemode 2020-08-21 10:18:43 +10:00
Izaya 3f82d96b8e buffer history now: can't go out of bounds, can go to an empty line once you go past the most recent 2020-06-21 18:26:10 +10:00
Izaya 0421034ff7 added history support to buffer:read() in terminal mode, do provide feedback 2020-06-20 17:24:10 +10:00
Izaya f9749ac181 more draw call optimisation 2020-06-11 14:03:54 +10:00
Izaya 642eb9adf1 reduced redraw to two draw calls, four colour calls, and one get call: draw line, get character, invert colours for cell 2020-06-11 13:34:59 +10:00
Izaya b4db6c7226 remove debugging syslog calls from buffer library, reduce draw calls for readline 2020-06-11 13:20:49 +10:00
Izaya f95124996c moved all readline analogs into the buffer module 2020-06-11 12:56:07 +10:00
Izaya b89ff14d5c added type annotations and descriptions for functions where appropriate 2020-05-12 17:55:05 +10:00
Izaya 05208810d3 buffer cleanup 2020-03-18 14:02:37 +11:00
Izaya 201aa20c5a added the plan9k buffer library because it's cleaner than the old io library 2020-03-16 17:30:22 +11:00
Izaya 408e9600b7 made the kernel actually work again 2019-11-04 08:54:30 +11:00
Izaya 9022bfce78 accidentally delet'd the wrong file 2019-10-28 00:35:32 +11:00
Izaya aaccc053d3 cursed 2019-10-27 23:34:02 +11:00