diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2024-01-11 19:08:29 -0800 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2024-01-11 19:08:29 -0800 |
| commit | 0f01c2aa5cca178ca2c46e512931302b069886af (patch) | |
| tree | fc97545c414dd2c41789796523197e00f44fcbc3 /Cargo.lock | |
| parent | Keep the cursor position on error. (diff) | |
| download | editor-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 'Cargo.lock')
0 files changed, 0 insertions, 0 deletions
