summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/utf8.c
AgeCommit message (Expand)Author
2024-07-12UTF-8 keys now contain the internal representation and not the UnicodeNicholas Marriott
2024-05-24Do not escape $ unless DQ is set, that is the only case where we need toNicholas Marriott
2023-09-15Change UTF-8 combining to inspect the previous character at the cursorNicholas Marriott
2023-09-01Rewrite combined character handling to be more consistent and to supportNicholas Marriott
2023-07-03Another warning fix for GCC from Thomas Klausner.Nicholas Marriott
2023-06-30Change a few types to fix warnings, from Thomas Klausner.Nicholas Marriott
2023-01-08Restore code to handle wcwidth failure so that unknown codepoints stillNicholas Marriott
2022-12-16Make U+FE0F VARIATION SELECTOR-16 change the width from 1 to 2. GitHubNicholas Marriott
2021-06-10More accurate vi(1) word navigation in copy mode and on the status line.Nicholas Marriott
2020-09-16Fix some warnings, GitHub issue 2382.Nicholas Marriott
2020-07-21Fix show-buffer when run from inside tmux, GitHub issue 2314.Nicholas Marriott
2020-06-09Include width in error message.Nicholas Marriott
2020-06-09It is not sensible to store pointers into an array we are going toNicholas Marriott
2020-06-06Use bitshifts instead of a union for encoding UTF-8 into 32 bits, whichNicholas Marriott
2020-06-02Allow UTF-8 characters of width 0 to be stored, it is useful to be ableNicholas Marriott
2020-06-02UTF-8 keys need to be big endian so the size bits are at the top.Nicholas Marriott
2020-06-02Fail rather than fatal on UTF-8 width 0.Nicholas Marriott
2020-05-26Return new character properly when converting to data.Nicholas Marriott
2020-05-25Use the internal representation for UTF-8 keys instead of wchar_t andNicholas Marriott
2020-05-25Tidy up new UTF-8 code and make it more generic.Nicholas Marriott
2020-05-25Make some data types consistent.Nicholas Marriott
2020-05-25Instead of storing all UTF-8 characters in the extended cell which meansNicholas Marriott
2019-11-25Add p format modifier for padding to width.Nicholas Marriott
2019-05-26Add formats for word and line under the mouse and use them to add someNicholas Marriott
2019-05-23Environment variables can start with { also.Nicholas Marriott
2019-05-23Break the argument escaping code into a separate function and use it toNicholas Marriott
2019-03-18Extend the #[] style syntax and use that together with previous formatNicholas Marriott
2017-06-04Remove unused variable.Nicholas Marriott
2017-06-04Be more strict about escape sequences that rename windows or set titles:Nicholas Marriott
2017-05-31Style and spacing nits.Nicholas Marriott
2017-03-17Fix a couple of argument types.Nicholas Marriott
2017-01-18Plain stravis() because it will mangle UTF-8 characters, so addNicholas Marriott
2016-10-11Support UTF-8 entry into the command prompt.Nicholas Marriott
2016-05-27Most of the utf8_data is fixed so simplify utf8_set to use a memcpy.Nicholas Marriott
2016-04-29OpenBSD wcwidth() is sensible and complete so if it returns -1 it meansNicholas Marriott
2016-04-27Loads of platforms appear to have old or broken Unicode character typeNicholas Marriott
2016-04-26Log wcwidth() and mbtowc() failure to make it easier to debug a UnicodeNicholas Marriott
2016-03-02Handle wcwidth() and mbtowc() failures in better style and dropNicholas Marriott
2016-03-01Use system wcwidth() instead of carrying around UTF-8 width tables.Nicholas Marriott
2016-01-31Whoops, need this for the previous reverse trim commit too.Nicholas Marriott
2016-01-19I no longer use my SourceForge address so replace it.Nicholas Marriott
2015-11-20Memory leaks and an uninitialized part of utf8_data, from Patrick Palka.Nicholas Marriott
2015-11-14The private use area at U+E000 to U+F8FF is not very useful if it isNicholas Marriott
2015-11-14All these return values from utf8_* are confusing, use an enum.Nicholas Marriott
2015-11-14Rename a variable in utf8_combine for consistency and use 0xfffd forNicholas Marriott
2015-11-14Be more strict about invalid UTF-8.Nicholas Marriott
2015-11-13Long overdue change to the way we store cells in the grid: now, insteadNicholas Marriott
2015-11-12Rename overly-long utf8data to ud throughout.Nicholas Marriott
2015-11-12Add utf8_padcstr and use it to align columns in list-keys.Nicholas Marriott
2015-11-12Tidy utf8.c a little: build table on first use, and make utf8_width takeNicholas Marriott