From 7d73b8ea0b4c7fc62b2bc4fdd1f2180d86b5fcb1 Mon Sep 17 00:00:00 2001 From: d6 Date: Thu, 24 Mar 2022 01:42:20 -0400 Subject: [PATCH] slightly improve docs --- femto.tal | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) 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 [