Commits


imsg: allow fdpass on the net socket 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!


cirrus.yml: bump to freebsd-14-2


update imsg


pretiffy the makefile.am; no functional change


maintenance: mention updating the website as well


switch to our build images


fix display of certificate selection prompt


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.


update vline len after character delete


ensure vline len is correctly accounted for


clean up utf8.h includes that are no longer needed


mark utf8_chwidth as static


retire utf8_encode too, it's no longer used


use grapheme_encode_utf8 instead of our home-grown utf8_encode libgrapheme does a few more checks than we do


remove now unused fuctions from utf8.c


use grapheme instead of utf8_next_cp


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.


typo; wilcard -> wildcard


typos; courtesy of codespell


-current again


bump version to 0.10.1


sync changelog