nnn.1 | 2 +- src/nnn.c | 5 ++--- diff --git a/nnn.1 b/nnn.1 index f000eda944c5ec65e54e64e63c82a1a85aaf6a8b..bab5b5e44fd0ff77785cea8a200936ca745ae1a0 100644 --- a/nnn.1 +++ b/nnn.1 @@ -412,7 +412,7 @@ # 8 color codes # codes: 0-black, 1-red, 2-green, 3-yellow, 4-blue (default), 5-magenta, 6-cyan, 7-white export NNN_COLORS='1234' - # xterm 256 color codes (in hex) + # xterm 256 color codes (in hex, 2 symbols per context) # codes: https://upload.wikimedia.org/wikipedia/commons/1/15/Xterm_256color_chart.svg export NNN_COLORS='#0a1b2c3d' diff --git a/src/nnn.c b/src/nnn.c index baeef064de67272f03054c5e1c21383b0c84a139..336c0c195e31649d5920310616b36385b57431db 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -1999,9 +1999,8 @@ printmsg(messages[MSG_FAILED]); return FALSE; } - /* Clear selection on move or delete */ - if (sel != SEL_CP) - clearselection(); + /* Clear selection */ + clearselection(); return TRUE; }