From c277b70a6ffcd84269afb9afc8d4e98cd6973bcb Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sun, 28 May 2023 22:29:12 -0500 Subject: Fix linebreaks --- readme | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/readme b/readme index a98c60b..5eaa9f6 100644 --- a/readme +++ b/readme @@ -1,15 +1,16 @@ YOLK --- ansi escapes for CHICKEN -*- text -*- -yes there's already ansi-escape-sequences[1]. consider this NIH ;) -this library is based on the information a gist by fnky[2]. -at some point i should base it instead on xterm's manual[3]. +yes there's already ansi-escape-sequences[1]. consider this NIH ;) this library +is based on the information a gist by fnky[2]. at some point i should base it +instead on xterm's manual[3]. Unless otherwise stated, all procedures and variables in this library are strings or return strings ready for `display'. INSTALLATION. -Run `chicken-install' in this directory or `make install', which will run it for you. You can also run `make clean' to clean the folder of build artifacts. +Run `chicken-install' in this directory or `make install', which will run it for +you. You can also run `make clean' to clean the folder of build artifacts. MODULES. @@ -43,9 +44,9 @@ Syntax. - (define-esc-alt-wrapper wrapper-proc-name param-name (default-proc args ...)) -Many terminal behaviors have multiple escape sequences that might work. This +Many terminal behaviors have multiple escape sequences that might work. This macro defines a parameter named PARAM-NAME and a procedure named -WRAPPER-PROC-NAME that will call PARAM-NAME with ARGS ... . The user can change +WRAPPER-PROC-NAME that will call PARAM-NAME with ARGS ... . The user can change which procedure to call by calling (PARAM-NAME new-proc). (yolk colors) --- NOT FINISHED @@ -58,7 +59,7 @@ Variables. -- cursor-home -Move the cursor to the top-left corner (0,0). NOTE: This and the move commands +Move the cursor to the top-left corner (0,0). NOTE: This and the move commands might be revised later. Procedures. @@ -87,8 +88,8 @@ Move cursor to column N. -- (cursor-save) -- (cursor-restore) -Save or restore the cursor's position on the screen. These variables are -parameters defaulting to the DEC escapes. You can set them to the SCO escapes +Save or restore the cursor's position on the screen. These variables are +parameters defaulting to the DEC escapes. You can set them to the SCO escapes using (cursor-save cursor-save/sco), for example. (yolk erase) --- erasing the screen @@ -110,7 +111,8 @@ These erase portions of the current line. -- erase-line-and-return -Convenience function to return the cursor to the beginning of the line after erasing it. +Convenience function to return the cursor to the beginning of the line after +erasing it. (yolk xterm) --- xterm-specific escape sequences -- cgit 1.4.1-21-gabe81