sorry...
I've only checked sourceforge git repository.
2014-04-05 16:46 GMT+09:00 Nicholas Marriott :
> Hi
>
> I think you misunderstood me. I've already done this in OpenBSD tmux, it'll
> be synced to SF git at some point
>
>
>
> Original messag
---
format.c | 2 +-
paste.c | 11 ++-
tmux.h | 7 +++
3 files changed, 6 insertions(+), 14 deletions(-)
diff --git a/format.c b/format.c
index 05cd4ed..f177d80 100644
--- a/format.c
+++ b/format.c
@@ -606,7 +606,7 @@ void
format_paste_buffer(struct format_tree *ft, struct windo
The first patch is the same as my last patch.
NOTICE: This patches shows UTF-8 characters not only choose-buffer but
list-buffers. What should we do is under discussion.
Kosuke Asami (2):
Better UTF-8 supports for choose-buffer and list-buffers
Chop buffers longer than the screen width
cmd
---
cmd-choose-buffer.c | 6 +-
cmd-list-buffers.c | 6 +-
format.c| 5 +++--
paste.c | 17 ++---
tmux.h | 6 --
utf8.c | 42 ++
6 files changed, 69 insertions(+), 13 deletions(-)
the RHS of the
> screen in choose mode, which seems nicer anyway.
>
>
> On Mon, Mar 10, 2014 at 12:47:46AM +0900, Kosuke ASAMI wrote:
>> The first zero check of 'len' seem to be unnecessary.
>>
>> I have fixed the decrement number from 'src' when an U
Is this patch ok?
2014-03-10 4:03 GMT+09:00 Nicholas Marriott :
> On Mon, Mar 10, 2014 at 12:47:46AM +0900, Kosuke ASAMI wrote:
>> The first zero check of 'len' seem to be unnecessary.
>>
>
> Yes you are right, thanks. Will look at this again and apply it later
>
e UTF-8 character. */
> + src -= (utf8data.have - 1);
> + }
> + }
> + if (src < end - 1)
> + dst = vis(dst, src[0], flag, src[1]);
> + else if (src < end)
> +
mp;utf8data, *src)) {
> + while ((dst - start) + utf8data.have < len) {
> + src++;
> +
> + more = utf8_append(&utf8data, *src);
> + if (!more)
> +
something like utf8_strvis.
>
> Also this looks wrong:
>
> - format_paste_buffer(ft, pb);
> + format_paste_buffer(wp, ft, pb);
>
> Arguments the wrong way round?
>
>
> On Sat, Mar 08, 2014 at 06:15:25PM +0900, Kosuke ASAMI wrote:
> >I have i
I have implemented a better UTF-8 support for buffer_sample in
choose-buffer and list-buffers.
When an user enables UTF-8 on window option, choose-buffer and list-buffers
show UTF-8 characters if so. Otherwise, they do as until now.
utf8_buffers.patch
Description: Binary data
---
10 matches
Mail list logo