Commit Briefs
imsg: allow fdpass on the net socket (main)
it's used to pass the client certificate to the net process so has to be enabled. Issue <https://github.com/telescope-browser/telescope/issues/21> spotted by linuxcult; thank you!
make forward_line() keep the same column
We should probably instead introduce the concept of ``target column'' but for now this brings back the behaviour pre-point_offset introduction, even if it gets it wrong when tabulator characters are involved.
handle tab characters
tab characters have their width depending on the column they're in, since they extend to the next multiple of 8. (citation needed?) So, keep track of the column when considering the length (in columns) of the text, so that we can render them properly. In the future we might want to turn them into spaces (either at read or render time) just to stay on the safe side in case not all terminals/ncurses implementations use 8 columns.
fix pledges; ui needs `sendfd'
we need to send a file descriptor to the net process when we use a custom client certificate. Don't know how I missed it...
wrapping shouldn't reach the last column
since we can't move the cursor past the last column, we can't draw a character there.
use grapheme_encode_utf8 instead of our home-grown utf8_encode
libgrapheme does a few more checks than we do
use a byte offset to track the point in the line
Instead of using a code-point offset, use a raw byte offset and navigate backward and forward by means of graphemes. This gives a correct "visual" backward/forward navigation through characters.
bump version to 0.10.1 (tags/0.10.1)