1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-14 09:45:46 +01:00

Push INSERT mode on top of PASS THROUGH mode when entering an input field, rather than clearing the mode stack.

This commit is contained in:
Kris Maglione
2010-11-17 19:18:19 -05:00
parent 7abe83ed8d
commit 5a618bee0e
5 changed files with 34 additions and 18 deletions

View File

@@ -115,9 +115,12 @@ install:
index($$0, "\nName=" profile "\n") { print; exit } \
!profile && /\nName=default\n/ { args["name=default"] = $$0 } \
!profile && /\nDefault=1/ { args["default=1"] = $$0 } \
END { if (args["default=1"]) print args["default=1"]; else print args["name=default"] }' |\
END { \
if (args["default=1"]) print args["default=1"]; \
else print args["name=default"] \
}' | \
awk -F= '{ args[$$1] = $$2 } \
END {\
END { \
if (args["IsRelative"]) print ENVIRON["dir"] "/" args["Path"]; \
else print args["Path"] \
}'); \