Skip to content
Snippets Groups Projects
Commit d7019f02 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Make Ctrl-D an alias for DEL (to delete messages)

For terminals that can't easily send a DEL (0x7F) character.
As requested by phigz in IRC.
parent d1300706
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
......@@ -980,6 +980,7 @@ function list_msgs(msgbase, list, current, preview, grp_name, sub_name)
for(var i in list)
list[i].flagged = flagged;
break;
case CTRL_D:
case KEY_DEL:
if(!list[current])
break;
......@@ -1035,6 +1036,7 @@ function list_msgs(msgbase, list, current, preview, grp_name, sub_name)
case '-':
current--;
break;
case CTRL_D:
case KEY_DEL:
if(msgbase.cfg && !msg_area.sub[msgbase.cfg.code].is_operator)
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment