mirror of
https://github.com/tmux/tmux.git
synced 2025-12-24 01:16:03 +00:00
Lose intermediate handling (unused). Change argument parsing to work properly over multiple buffers by saving a copy of the argument (we can't just save off/len since the buffer may vanish at any point).
This commit is contained in:
4
local.c
4
local.c
@@ -1,4 +1,4 @@
|
||||
/* $Id: local.c,v 1.10 2007-09-29 10:57:39 nicm Exp $ */
|
||||
/* $Id: local.c,v 1.11 2007-09-29 14:25:49 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@@ -310,11 +310,13 @@ local_putc(int c)
|
||||
if (c < 0 || c > (int) UCHAR_MAX)
|
||||
fatalx("invalid character");
|
||||
|
||||
/* XXX
|
||||
if (debug_level > 2) {
|
||||
f = fopen("tmux-out.log", "a+");
|
||||
fprintf(f, "%c", ch);
|
||||
fclose(f);
|
||||
}
|
||||
*/
|
||||
|
||||
buffer_write(local_out, &ch, 1);
|
||||
return (c);
|
||||
|
||||
Reference in New Issue
Block a user