Short version:
I'm developing an extension and am running into trouble. I have two (hopefully quick) questions:
1) How can I set letter spacing dynamically?
   $term->resource(letterSpace => $spacing); #Does not appear to change anything

2) If I update sizing information in an on_user_command hook, $term->ncol does not get updated. Calling $term->want_refresh() doesn't seem to update it. What can I do?


More details:

This adventure started with this question:
http://unix.stackexchange.com/questions/183343/urxvt-force-column-width

I would like to automatically resize the contents (font size, letter spacing) of a terminal to maintain a desired width with arbitrary window dimensions (useful with tiling window managers). I realize this may appear ugly with mismatched window and font geomtry, but for my common case it should work fine.

My initial attempt at solving this with a perl extension is below:
https://github.com/zestrada/urxvt-fixed-cols/blob/master/fixed-cols


Thanks!
--Zak

_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode

Reply via email to