Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
screen
mappedcmd.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mappedcmd.diff of Package screen
commit ae3e007da3f50e9f4e3c4244e12fce5fcd3774db Author: Michael Schroeder <mls@suse.de> Date: Tue Aug 7 17:05:15 2012 +0200 make ^A DEL work again It was broken because we discarded all mapped sequences. Now we let sequences with length 1 through to ProcessInput2. diff --git a/src/process.c b/src/process.c index d86c62c..bdf9355 100644 --- a/src/process.c +++ b/src/process.c @@ -6472,6 +6472,7 @@ int i; { struct action *act; int discard = 0; + int keyno = i; debug1("StuffKey #%d", i); #ifdef DEBUG @@ -6511,6 +6512,9 @@ int i; if (discard && (!act || act->nr != RC_COMMAND)) { + /* if the input was just a single byte we let it through */ + if (D_tcs[keyno + T_CAPS].str && strlen(D_tcs[keyno + T_CAPS].str) == 1) + return -1; if (D_ESCseen) { D_ESCseen = 0;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor