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
2aaf4f36
Commit
2aaf4f36
authored
19 years ago
by
deuce
Browse files
Options
Downloads
Patches
Plain Diff
K_TABEXIT returns on both TAB and BACKTAB
parent
625e423a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/uifc/uifc.h
+1
-1
1 addition, 1 deletion
src/uifc/uifc.h
src/uifc/uifc32.c
+2
-1
2 additions, 1 deletion
src/uifc/uifc32.c
with
3 additions
and
2 deletions
src/uifc/uifc.h
+
1
−
1
View file @
2aaf4f36
...
...
@@ -211,7 +211,7 @@
#define K_NOCRLF (1L<<9)
/* Don't print CRLF after string input */
#define K_ALPHA (1L<<10)
/* Only allow alphabetic characters */
#define K_SCANNING (1L<<11)
/* UPC Scanner is active... return on '%' */
#define K_TABEXIT (1L<<12)
/* Return on TAB
*/
#define K_TABEXIT (1L<<12)
/* Return on TAB
or BACKTAB
*/
#define K_DECIMAL (1L<<13)
/* Allow floating point numbers only */
#define K_DEUCEEXIT (1L<<13)
/* Return whenever Deuce wants to exit */
/* Define this behaviour better - ToDo */
...
...
This diff is collapsed.
Click to expand it.
src/uifc/uifc32.c
+
2
−
1
View file @
2aaf4f36
...
...
@@ -1910,7 +1910,8 @@ int ugetstr(int left, int top, int width, char *outstr, int max, long mode, int
}
case
CR
:
break
;
case
'\t'
:
/* '%' indicates that a UPC is coming next */
case
3840
:
/* Backtab */
case
'\t'
:
if
(
mode
&
K_TABEXIT
)
ch
=
CR
;
break
;
...
...
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