mirror of
https://github.com/tmux/tmux.git
synced 2025-01-07 16:28:48 +00:00
We use screen now, not ansi.
This commit is contained in:
parent
73d7b70479
commit
b9de906ad9
4
screen.c
4
screen.c
@ -1,4 +1,4 @@
|
|||||||
/* $Id: screen.c,v 1.5 2007-08-27 09:53:38 nicm Exp $ */
|
/* $Id: screen.c,v 1.6 2007-08-27 10:08:44 nicm Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||||
@ -23,7 +23,7 @@
|
|||||||
#include "tmux.h"
|
#include "tmux.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Virtual screen and basic ANSI terminal emulator.
|
* Virtual screen and basic terminal emulator.
|
||||||
*
|
*
|
||||||
* XXX Much of this file sucks.
|
* XXX Much of this file sucks.
|
||||||
*/
|
*/
|
||||||
|
11
window.c
11
window.c
@ -1,4 +1,4 @@
|
|||||||
/* $Id: window.c,v 1.2 2007-07-25 23:13:18 nicm Exp $ */
|
/* $Id: window.c,v 1.3 2007-08-27 10:08:44 nicm Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||||
@ -35,9 +35,10 @@
|
|||||||
* Each window is attached to a pty. This file contains code to handle them.
|
* Each window is attached to a pty. This file contains code to handle them.
|
||||||
*
|
*
|
||||||
* A window has two buffers attached, these are filled and emptied by the main
|
* A window has two buffers attached, these are filled and emptied by the main
|
||||||
* server poll loop. Output data is received from pty's in ANSI format,
|
* server poll loop. Output data is received from pty's in screen format,
|
||||||
* translated and returned as a series of ANSI escape sequences and strings.
|
* translated and returned as a series of escape sequences and strings.
|
||||||
* Input data is received in ANSI format and written directly to the pty.
|
* Input data is received in screen format and written directly to the pty
|
||||||
|
* (translation is done in the client).
|
||||||
*
|
*
|
||||||
* Each window also has a "virtual" screen (screen.c) which contains the
|
* Each window also has a "virtual" screen (screen.c) which contains the
|
||||||
* current state and is redisplayed when the window is reattached to a client.
|
* current state and is redisplayed when the window is reattached to a client.
|
||||||
@ -302,7 +303,7 @@ window_input(struct window *w, struct buffer *b, size_t size)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Process window output. Output is translated into a series of ANSI escape
|
* Process window output. Output is translated into a series of escape
|
||||||
* sequences and strings and returned.
|
* sequences and strings and returned.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user