AnalogTerm2: Fix a partial refresh bug affecting command line editing
authorMatthew Mondor <mmondor@pulsar-zone.net>
Tue, 2 May 2023 18:28:15 +0000 (18:28 +0000)
committerMatthew Mondor <mmondor@pulsar-zone.net>
Tue, 2 May 2023 18:28:15 +0000 (18:28 +0000)
mmsoftware/analogterm2/TODO.txt
mmsoftware/analogterm2/src/state.c

index 1d80fd9..4dbb1ed 100644 (file)
@@ -35,7 +35,7 @@
   https://en.wikipedia.org/wiki/Box-drawing_character
 - Overwrite/clear selections before freeing them
 - ≣ † ☆ ツ ⌘›🍺∴ ( ͡° ͜ʖ ͡°)   ƒ   ︵  ₂   😈  θ  ƒ  ›  ʼ  ƒ ∂  ʻ  μ  ›  ∫   ◇ ♪
-  ► ə β ə ſ ρ ə ∴ ♪ 😱 † 😳 › ▛ ᵗ * ‽
+  ► ə β ə ſ ρ ə ∴ ♪ 😱 † 😳 › ▛ ᵗ * ‽ ℣
 - Verify if dead key support is incomplete for ISO-8859-4 and ISO-8859-10.
   There were special characters that were unicode since the start but also
   could have punctuation.  And others that used two at a time...  It might
index b72dcc3..64fa725 100644 (file)
@@ -1026,6 +1026,11 @@ state_emul_printc(state_t *st, uint8_t c)
                        if ((state->cursor_x = (state->csiparam[0] - 1)) >=
                            cfg_text_width)
                                state->cursor_x = cfg_text_width - 1;
+                       /*
+                        * XXX Why is this required despite the equivalent
+                        * in the goto handling at the end?
+                        */
+                       state_updated(st, state->cursor_y);
                        state->escstate = 0;
                        break;
                case 'f':