about summary refs log tree commit diff stats
path: root/cannot_write_tests_for
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-09-04 11:07:08 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-09-04 11:12:03 -0700
commit1ed9af8300c037174dba4fc83fffeea9e6291ab8 (patch)
treebcfe79c4fd21f428f542d417e745595d2cc950c6 /cannot_write_tests_for
parent7e23f02f89ceebddaf55fa2c31621a18fe63ff98 (diff)
downloadmu-1ed9af8300c037174dba4fc83fffeea9e6291ab8.tar.gz
2141 - attempt to deal with slow networks
On slow networks sometimes escape sequences were being partially
consumed, causing junk to be added to the editor when you pressed arrow
keys and so on. Now we have a way to wait.

Empirically seems to work if I page-up and then scroll back up using
up-arrow. Before I'd consistently get junk even on my local machine. Now
I no longer do.

If we still see problems I'll increase the wait time and see if the
increase helps. Then we'll know more about this approach.
Diffstat (limited to 'cannot_write_tests_for')
-rw-r--r--cannot_write_tests_for4
1 files changed, 4 insertions, 0 deletions
diff --git a/cannot_write_tests_for b/cannot_write_tests_for
index a77ef91b..8a678b37 100644
--- a/cannot_write_tests_for
+++ b/cannot_write_tests_for
@@ -3,3 +3,7 @@
 3. hide/show screen
 4. more touch event types
 5. sandbox isolation
+
+termbox issues are implementation-specific and not worth testing:
+  whether we clear junk from other processes
+  latency in interpreting low-level escape characters