aboutsummaryrefslogtreecommitdiffstats
path: root/benches
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2024-01-11 19:08:29 -0800
committerRose Hogenson <rosehogenson@posteo.net>2024-01-11 19:08:29 -0800
commit0f01c2aa5cca178ca2c46e512931302b069886af (patch)
treefc97545c414dd2c41789796523197e00f44fcbc3 /benches
parentKeep the cursor position on error. (diff)
downloadeditor-0f01c2aa5cca178ca2c46e512931302b069886af.tar.zst
Don't call read immediately in cursor_pos.
I forgot that read can block. We actually don't want cursor_pos to block for user input before querying, since it will fail nearly every time. It did give me a good opportunity to test the error handling though.
Diffstat (limited to 'benches')
0 files changed, 0 insertions, 0 deletions