mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 03:52:49 -05:00
Implement writing RTF to the clipboard (off by default), so that if
you enable it text will paste into Word et al in the same font as PuTTY itself is displaying in. In particular, this will be a fixed- pitch font, so tables and `ls' and the like will naturally line up. [originally from svn r1373]
This commit is contained in:
@ -8,8 +8,6 @@
|
||||
#include "putty.h"
|
||||
#include "misc.h"
|
||||
|
||||
static void get_unitab(int codepage, wchar_t * unitab, int ftype);
|
||||
|
||||
/* Character conversion arrays; they are usually taken from windows,
|
||||
* the xterm one has the four scanlines that have no unicode 2.0
|
||||
* equivalents mapped to their unicode 3.0 locations.
|
||||
@ -1218,7 +1216,7 @@ char *cp_enumerate(int index)
|
||||
return cp_list[index].name;
|
||||
}
|
||||
|
||||
static void get_unitab(int codepage, wchar_t * unitab, int ftype)
|
||||
void get_unitab(int codepage, wchar_t * unitab, int ftype)
|
||||
{
|
||||
char tbuf[4];
|
||||
int i, max = 256, flg = MB_ERR_INVALID_CHARS;
|
||||
|
Reference in New Issue
Block a user