| Commit message (Collapse) | Author | Age |
... | |
|\| |
|
| | |
|
|\| |
|
| | |
|
| |
| |
| |
| | |
a u_int rather than splitting and then combining again in utf8_split.
|
|\| |
|
| |
| |
| |
| |
| | |
error messages and whatnot with underscores the same as we do when we
draw UTF-8 characters as part of the screen.
|
| |
| |
| |
| |
| |
| | |
uint64_t and converting UTF-8 to Unicode on input and the reverse on
output. (This allows key bindings, there are still omissions - the
largest being that the various prompts do not accept UTF-8.)
|
|\|
| |
| |
| |
| | |
Conflicts:
utf8.c
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
in /usr/src/share/locale/ctype/en_US.UTF-8.src, with one single
exception: Keep U+00AD SOFT HYPHEN at width 1 rather than moving
it to width 0, a tradition already observed in the old
https://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c .
While here, manually rebalance the btree for optimal lookup speed.
OK nicm@
|
|\| |
|
| | |
|
| | |
|
|\|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
Makefile
cmd-list-commands.c
cmd-suspend-client.c
job.c
tmux.h
xmalloc.c
|
| | |
|
|\|
| |
| |
| |
| |
| |
| | |
Conflicts:
Makefile
tmux.1
window.c
|
| |
| |
| |
| | |
on formats from splitting UTF-8 characters improperly.
|
| | |
|
| | |
|
|\|
| |
| |
| |
| |
| | |
Conflicts:
Makefile
tty-keys.c
|
| |
| |
| |
| | |
buffer_sample bigger to let it trim at window right edge.
|
| |
| |
| |
| | |
be used. Fix from Koga Osamu.
|
| |
| |
| |
| | |
used. Fix from Koga Osamu.
|
|\|
| |
| |
| |
| | |
Conflicts:
tmux.c
|
| |
| |
| |
| | |
shouldn't be there, from Jeong Mok Cho.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
and supports larger terminals than the older way.
If the new mouse-utf8 option is on, UTF-8 mouse input is enabled for all
UTF-8 terminals. The option defaults to on if LANG etc are set in the
same manner as the utf8 option.
With help and based on code from hsim at gmx.li.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Get rid of passing around u_char[4]s and define a struct utf8_data which has
character data, size (sequence length) and width. Move UTF-8 character
collection into two functions utf8_open/utf8_append in utf8.c which fill in
this struct and use these functions from input.c and the various functions in
screen-write.c.
Space for rather more data than is necessary for one UTF-8 sequence is in the
utf8_data struct because screen_write_copy is still nasty and needs to reinject
the character (after combining) into screen_write_cell.
|
| |
| |
| |
| | |
duplicate. Found by lint.
|
| | |
|
|
|
|
|
|
|
| |
terminal to be switched between several different windows and programs
displayed on one terminal be detached from one terminal and moved to another.
ok deraadt pirofti
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Support for UTF-8 mouse input (\033[1005h). This was added in xterm 262
and supports larger terminals than the older way.
If the new mouse-utf8 option is on, UTF-8 mouse input is enabled for all
UTF-8 terminals. The option defaults to on if LANG etc are set in the
same manner as the utf8 option.
With help and based on code from hsim at gmx.li.
|
|
|
|
|
| |
%zu not %u, doh.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Try to reduce the UTF-8 mess.
Get rid of passing around u_char[4]s and define a struct utf8_data which has
character data, size (sequence length) and width. Move UTF-8 character
collection into two functions utf8_open/utf8_append in utf8.c which fill in
this struct and use these functions from input.c and the various functions in
screen-write.c.
Space for rather more data than is necessary for one UTF-8 sequence is in the
utf8_data struct because screen_write_copy is still nasty and needs to reinject
the character (after combining) into screen_write_cell.
|
| |
|
|
|
|
|
| |
duplicate. Found by lint.
|
| |
|
| |
|
|
|
|
|
| |
but meh.
|
| |
|
| |
|
| |
|
|
|