Nicholas Marriott <nicholas.marri...@gmail.com> writes: > Sorry I didn't really give you many clear clues here - we actually need > to make it pass some code through so the final write is done with the > charset bit set. How about something like the diff below?
Ah yes, very nice. It takes care of the acsc and utf-8 modes in one go. I have two questions, though: 1) if the tty doesn't have acsc or utf-8, it will use the ascii fallbacks which are both '+' rather than '|' and '\'. Not sure if that matters. 2) is this special value (0x1) generally safe in all encodings (it's okay for ascii, iso-8859 and utf-8, not sure if we care about others)? > Although I am a little inclined to instead add #[acs] #[noacs] and make > it use screen_write_cnputs so people can use #[format] stuff which might > be nice for choose-list. Wouldn't be so nice if you have a window called > #[foo] though... so maybe not. I guess it would be possible to escape the opening bracket where it's not wanted and teach _cnputs() to unescape or interpret the format as necessary? Thanks a lot! ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users