Commit Briefs

Omar Polo

cursor handling with utf8 support

the code relative to the cursors movements now respects the width of the characters (zero, one or two cells).




Omar Polo

fix warnings


Omar Polo

fix compilation on glibc

glibc needs _GNU_SOURCE defined to make IOV_MAX visible. Use AC_USE_SYSTEM_EXTENSIONS and make sure to include compat.h before everything else. Found by cage_, thanks!


Omar Polo

change default quote continuation prefix

using "> " as prefix for both first and continuation lines was a bit ambiguous.


Omar Polo

fix a case of use-after-free in parser_set_buf

p->buf and buf almost always overlap. This means that once we free(p->buf), buf becomes invalid. It probably never crashed on memcpy since because the buffer is almost always quite small.


Omar Polo

fixed strtonum prototype

found by cage_: thanks!





Omar Polo

mkdir ~/.telescope on startup




Omar Polo

fmt + avoid possible errors