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
106cee9e
Commit
106cee9e
authored
1 year ago
by
Rob Swindell
Browse files
Options
Downloads
Patches
Plain Diff
Change 1L<<x #defines to 1<<x to synchronize with sbbsdefs.h
parent
6ae3c801
No related branches found
No related tags found
No related merge requests found
Pipeline
#5023
passed
1 year ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/uifc/uifc.h
+24
-24
24 additions, 24 deletions
src/uifc/uifc.h
with
24 additions
and
24 deletions
src/uifc/uifc.h
+
24
−
24
View file @
106cee9e
...
...
@@ -168,30 +168,30 @@ typedef int64_t uifc_winmode_t;
#define SCRN_LEFT (api->scrn_width < 80 ? 1 : 5)
#define SCRN_RIGHT ((int)api->scrn_width-(api->scrn_width < 80 ? 0 : 4))
/* Bits in 'mode' for getkey and getstr */
#define K_UPPER (1
L
<<0)
/* Converts all letters to upper case */
#define K_UPRLWR (1
L
<<1)
/* Upper/Lower case automatically */
#define K_NUMBER (1
L
<<2)
/* Allow numbers only */
#define K_WRAP (1
L
<<3)
/* Allows word wrap */
#define K_MSG (1
L
<<4)
/* Allows ANSI, ^N ^A ^G */
#define K_SPIN (1
L
<<5)
/* Spinning cursor (same as SPIN) */
#define K_LINE (1
L
<<6)
/* Input line (inverse color) */
#define K_EDIT (1
L
<<7)
/* Edit string passed */
#define K_CHAT (1
L
<<8)
/* In chat multi-chat */
#define K_NOCRLF (1
L
<<9)
/* Don't print CRLF after string input */
#define K_ALPHA (1
L
<<10)
/* Only allow alphabetic characters */
#define K_SCANNING (1
L
<<11)
/* UPC Scanner is active... return on '%' */
#define K_TABEXIT (1
L
<<12)
/* Return on TAB or BACKTAB */
#define K_DECIMAL (1
L
<<13)
/* Allow floating point numbers only */
#define K_DEUCEEXIT (1
L
<<14)
/* Return whenever Deuce wants to exit */
/* Returns on up/down/F2 */
#define K_MOUSEEXIT (1
L
<<15)
/* Returns when mouse is clicked outside of */
/* Input area (NOT outside of window!) */
/* And ungets the mouse event. */
#define K_PASSWORD (1
L
<<16)
/* Does not display text while editing */
#define K_FIND (1
L
<<17)
/* Don't set the "changes" flag */
#define K_TRIM (1
L
<<23)
/* Don't allow leading or trailing wsp */
#define K_NOSPACE (1
L
<<26)
/* Don't allow any wsp chars */
/* Bits in 'mode' for getkey and getstr */
#define K_UPPER (1<<0)
/* Converts all letters to upper case */
#define K_UPRLWR (1<<1)
/* Upper/Lower case automatically */
#define K_NUMBER (1<<2)
/* Allow numbers only */
#define K_WRAP (1<<3)
/* Allows word wrap */
#define K_MSG (1<<4)
/* Allows ANSI, ^N ^A ^G */
#define K_SPIN (1<<5)
/* Spinning cursor (same as SPIN) */
#define K_LINE (1<<6)
/* Input line (inverse color) */
#define K_EDIT (1<<7)
/* Edit string passed */
#define K_CHAT (1<<8)
/* In chat multi-chat */
#define K_NOCRLF (1<<9)
/* Don't print CRLF after string input */
#define K_ALPHA (1<<10)
/* Only allow alphabetic characters */
#define K_SCANNING (1<<11)
/* UPC Scanner is active... return on '%' */
#define K_TABEXIT (1<<12)
/* Return on TAB or BACKTAB */
#define K_DECIMAL (1<<13)
/* Allow floating point numbers only */
#define K_DEUCEEXIT (1<<14)
/* Return whenever Deuce wants to exit */
/* Returns on up/down/F2 */
#define K_MOUSEEXIT (1<<15)
/* Returns when mouse is clicked outside of */
/* Input area (NOT outside of window!) */
/* And ungets the mouse event. */
#define K_PASSWORD (1<<16)
/* Does not display text while editing */
#define K_FIND (1<<17)
/* Don't set the "changes" flag */
#define K_TRIM (1<<23)
/* Don't allow leading or trailing wsp */
#define K_NOSPACE (1<<26)
/* Don't allow any wsp chars */
/* Extra exit flags */
...
...
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