#248 Try to guess select color

Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
Quick open tab #240

Signed-off-by: Gaetan Semet <gaetan@xeberon.net>