From 4a612b8bebf9867925b15a2184af5e4e1f729d83 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Fri, 5 May 2006 18:21:07 +0000 Subject: [PATCH] More TODO items: Properly save 80-column drawings... possibly warn first? Best method (using movement codes) is as follows: At Start of 80-column line: 1) Move down one line (Using LF - force scroll if it will happen) 2) Move up one line (back to original position) 3) Save position At End of 80-column line: 1) Restore position 2) Move down one line using CR/LF to ensure a proper end of line On last line, do not do special start/end unless the last line is 80 columns. Second best method (for types without movement): At end of 80-column line, instead of \r\n, use <space><backspace> - This method will not work correctly for non 80-column terminals - Can result in overly long lines... breaking things which use a fixed-length line buffer while reading input files (ex: ddplus doors) Support loading, editing, and ANSI-selecting console fonts --- src/syncdraw/TODO | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/syncdraw/TODO b/src/syncdraw/TODO index 6489b7baf8..a2d882d6e7 100644 --- a/src/syncdraw/TODO +++ b/src/syncdraw/TODO @@ -12,4 +12,19 @@ Fast mouse movement in draw modes leaves holes "Skins" to set the attributes and box style? Some people may LIKE ugly Set the application title to "SyncDraw" or something... currently left blank somehow syncdraw.config should become syncdraw.ini - +Properly save 80-column drawings... possibly warn first? + Best method (using movement codes) is as follows: + At Start of 80-column line: + 1) Move down one line (Using LF - force scroll if it will happen) + 2) Move up one line (back to original position) + 3) Save position + At End of 80-column line: + 1) Restore position + 2) Move down one line using CR/LF to ensure a proper end of line + On last line, do not do special start/end unless the last line is 80 columns. + Second best method (for types without movement): + At end of 80-column line, instead of \r\n, use <space><backspace> + - This method will not work correctly for non 80-column terminals + - Can result in overly long lines... breaking things which use a + fixed-length line buffer while reading input files (ex: ddplus doors) +Support loading, editing, and ANSI-selecting console fonts -- GitLab