- Nov 15, 2015
- Nov 14, 2015
-
-
deuce authored
Fix dk.console.movey(). Get super-tricky with dk.console.attr... Explicitly set the prototype in the literal, and add a getter/setter for _attr.value. This allows changing attr to immediately send the ANSI stuff.
-
deuce authored
after each write so we don't require the -f option.
-
deuce authored
-
- Nov 13, 2015
- Nov 12, 2015
-
-
deuce authored
-
deuce authored
jsexec_console and socket_console to avoid copy pasta. Use 0/0 origin for all things. Just because ANSI uses 1/1 origin doesn't mean we have to.
-
deuce authored
-
deuce authored
existing objects, use object function-local variables, etc).
-
deuce authored
screen. Avoid creating new Attribute objects when not needed (ie: only on creation)
-
deuce authored
-
deuce authored
Use default of 80x24 for both. Use the screen object to parse ANSI and keep the systems idea of the "Current Attribute" correct. Once this is all fixed up, I'll have everything I need for getstr()!
-
deuce authored
file.
-
deuce authored
Add Graphic.put() which copies a Graphic object into one the same size or larger. Fix Graphic.draw() to work.
-
- Nov 11, 2015
- Nov 10, 2015
-
-
deuce authored
node_dir.
-
deuce authored
-
deuce authored
do so. Also, for stdin, we can't select() for read since it's using the FILE* not the file descriptor.
-
deuce authored
the API).
-
deuce authored
-
deuce authored
-
deuce authored
portably. Also, we're really interested in termios stuff, so we don't actually want to call setvbuf anyway.
-
deuce authored
-
deuce authored
controlling the vbuf of a stream.
-
deuce authored
that a position report was received, and the result stored in dk.console.last_pos.x and dk.console.last_pos.y.
-
deuce authored
getkey() now.
-
- Nov 09, 2015
- Nov 08, 2015
-
-
deuce authored
-
deuce authored
var s= new Socket(true, descriptor); This creates a new socket object from a socket descriptor.
-
deuce authored
-
deuce authored
Once again, actually using these is NOT SAFE, you need to pay very close attention to the C source code to know what functions you can use in multiple threads. The log function gets overwritten, so it should remain somewhat safe, but everything else is a potential bug in your background script.
-
deuce authored
select() a file on that OS. Also, opening the "CON" file may not do what I expect.
-
deuce authored
into dk.console since we're returning strings from getkey(), not constants.
-