diff --git a/femto.tal b/femto.tal index c46c4aa..8f54ac8 100644 --- a/femto.tal +++ b/femto.tal @@ -39,19 +39,15 @@ ( TODO: ) ( - optimize term drawing ) ( - get long line truncation/scrolling working ) -( - line numbers in left column (toggle mode?) ) +( - allow line numbers to be toggled off ) ( - help text ) -( - save file command -> tmp first ) ( - open file command? ) ( - close file command? ) ( - move by word/paragraph ) ( - search ) ( - search&replace ) -( - tab support? ) ( - windows line-ending support (CRLF) ) -( FIXME: ) -( - stop using bytes for row/col/etc. ) -( - consider storing absolute cursor instead ) +( - consider using abssolute cursor positions ) |00 @System [ &vector $2 &wst $1 &rst $1 &pad $4 &r $2 &g $2 &b $2 &debug $1 &halt $1 ] |10 @Console [ &vector $2 &read $1 &pad $5 &write $1 &error $1 ] @@ -70,9 +66,9 @@ |0000 @term [ - &cols $2 ( zzz ) - &rows $2 ( zzz ) - &lmargin $2 ( zzz ) + &cols $2 ( relative x coordinate of cursor, from 0 ) + &rows $2 ( relative y coordinaet of cursor, from 1 ) + &lmargin $2 ( left padding needed for line numbers ) ] @config [