[hackers] [st][PATCH 0/2] Cursor color handling

From: Jules Maselbas <jules.maselbas_AT_grenoble-inp.org>
Date: Wed, 4 Jul 2018 15:34:08 +0200

Hi,

I was looking for a way to make the cursor color behave the same as in
xterm, by having it's color following the underling text color. The
first patch tries to simplify the existing code for cursor color handling.
When st is in MODE_REVERSE all glyph including the cursor will have
their color reversed by xdrawglyphfontspecs. However this is not the
case for drawcol which is only used to draw specific shaped cursor.

The second patch allow the cursor color to as in xterm, following the
underling text color.

I would like have your thoughts and feedbacks.

Cheers.

---
Jules Maselbas (2):
  x: Simplify cursor color handling
  Allow cursor color to follow text color
 config.def.h |  4 ++--
 x.c          | 37 ++++++++++++++++++++++---------------
 2 files changed, 24 insertions(+), 17 deletions(-)
-- 
2.18.0
Received on Wed Jul 04 2018 - 15:34:08 CEST

This archive was generated by hypermail 2.3.0 : Wed Jul 04 2018 - 15:36:26 CEST