Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
d9894bfb
Commit
d9894bfb
authored
10 months ago
by
Rob Swindell
Browse files
Options
Downloads
Patches
Plain Diff
Add WIN_TAG, MSK_TAG, MSG_TAGALL and (missing) WIN_HLP definitions
parent
de7b2c60
No related branches found
No related tags found
1 merge request
!455
Update branch with changes from master
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
exec/load/uifcdefs.js
+7
-2
7 additions, 2 deletions
exec/load/uifcdefs.js
with
7 additions
and
2 deletions
exec/load/uifcdefs.js
+
7
−
2
View file @
d9894bfb
...
...
@@ -30,6 +30,10 @@ const MSK_COPY = 0x30000000;
const
MSK_CUT
=
0x40000000
;
const
MSK_PASTE
=
0x50000000
;
const
MSK_EDIT
=
0x60000000
;
const
MSK_TAG
=
0x70000000
;
const
MSK_TAGALL
=
MSK_TAG
|
MSK_OFF
;
/* Dont forget, negative return values are used for extended keys (if WIN_EXTKEYS used)! */
const
MAX_OPLN
=
75
;
/* Maximum length of each option per menu call */
const
MAX_BUFS
=
7
;
/* Maximum number of screen buffers to save */
...
...
@@ -69,7 +73,9 @@ const WIN_CHE = (1<<14); /* Stay active after escape if changes */
const
WIN_XTR
=
(
1
<<
15
);
/* Add extra line at end for inserting at end */
const
WIN_DYN
=
(
1
<<
16
);
/* Dynamic window - return at least every second */
const
WIN_CUT
=
(
1
<<
17
);
/* Allow ^X (cut) a menu item */
const
WIN_PACK
=
(
1
<<
18
);
/* Pack text in window (No padding) */
const
WIN_HLP
=
(
1
<<
17
);
/* showbuf(): Parse help text codes */
const
WIN_TAG
=
(
1
<<
18
);
/* Allow space bar to toggle tagged options */
const
WIN_PACK
=
(
1
<<
18
);
/* showbuf(): Pack text in window (No padding) */
const
WIN_IMM
=
(
1
<<
19
);
/* Draw window and return immediately */
const
WIN_FAT
=
(
1
<<
20
);
/* Do not pad outside borders */
const
WIN_REDRAW
=
(
1
<<
21
);
/* Force redraw on dynamic window */
...
...
@@ -87,7 +93,6 @@ const WIN_POP = (1<<30); /* Exit the list. Act as though ESC was pressed. */
/* Intended for use after a WIN_EXTKEYS or WIN_DYN */
const
WIN_SEL
=
(
1
<<
31
);
/* Exit the list. Act as though ENTER was pressed. */
/* Intended for use after a WIN_EXTKEYS or WIN_DYN */
const
WIN_MID
=
WIN_L2R
|
WIN_T2B
;
/* Place window in middle of screen */
const
SCRN_TOP
=
3
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment