mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-15 10:07:39 -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:
@ -234,6 +234,7 @@ void save_settings(char *section, int do_host, Config * cfg)
|
||||
write_setting_s(sesskey, buf, buf2);
|
||||
}
|
||||
write_setting_i(sesskey, "RawCNP", cfg->rawcnp);
|
||||
write_setting_i(sesskey, "PasteRTF", cfg->rtf_paste);
|
||||
write_setting_i(sesskey, "MouseIsXterm", cfg->mouse_is_xterm);
|
||||
write_setting_i(sesskey, "RectSelect", cfg->rect_select);
|
||||
write_setting_i(sesskey, "MouseOverride", cfg->mouse_override);
|
||||
@ -440,6 +441,7 @@ void load_settings(char *section, int do_host, Config * cfg)
|
||||
}
|
||||
}
|
||||
gppi(sesskey, "RawCNP", 0, &cfg->rawcnp);
|
||||
gppi(sesskey, "PasteRTF", 0, &cfg->rtf_paste);
|
||||
gppi(sesskey, "MouseIsXterm", 0, &cfg->mouse_is_xterm);
|
||||
gppi(sesskey, "RectSelect", 0, &cfg->rect_select);
|
||||
gppi(sesskey, "MouseOverride", 1, &cfg->mouse_override);
|
||||
|
Reference in New Issue
Block a user