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
26babd8a
Commit
26babd8a
authored
17 years ago
by
deuce
Browse files
Options
Downloads
Patches
Plain Diff
Add help for sorting menu.
parent
e09551d6
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/syncterm/bbslist.c
+7
-0
7 additions, 0 deletions
src/syncterm/bbslist.c
with
7 additions
and
0 deletions
src/syncterm/bbslist.c
+
7
−
0
View file @
26babd8a
...
@@ -461,6 +461,12 @@ void edit_sorting(struct bbslist **list, int *listcount)
...
@@ -461,6 +461,12 @@ void edit_sorting(struct bbslist **list, int *listcount)
else
else
opt
[
i
][
0
]
=
0
;
opt
[
i
][
0
]
=
0
;
}
}
uifc
.
helpbuf
=
"`Sort Order`
\n\n
"
"Move the highlight bar to the position you would like
\n
"
"to add a new ordering before and press ~INSERT~. Choose
\n
"
"a field from the list and it will be inserted.
\n\n
"
"To remove a sort order, use ~DELETE~.
\n\n
"
"To reverse a sort order, highlight it and press enter"
;
ret
=
uifc
.
list
(
WIN_XTR
|
WIN_DEL
|
WIN_INS
|
WIN_INSACT
|
WIN_ACT
|
WIN_SAV
ret
=
uifc
.
list
(
WIN_XTR
|
WIN_DEL
|
WIN_INS
|
WIN_INSACT
|
WIN_ACT
|
WIN_SAV
,
0
,
0
,
0
,
&
curr
,
&
bar
,
"Sort Order"
,
opts
);
,
0
,
0
,
0
,
&
curr
,
&
bar
,
"Sort Order"
,
opts
);
if
(
ret
==-
1
)
if
(
ret
==-
1
)
...
@@ -479,6 +485,7 @@ void edit_sorting(struct bbslist **list, int *listcount)
...
@@ -479,6 +485,7 @@ void edit_sorting(struct bbslist **list, int *listcount)
}
}
else
{
else
{
sopt
[
j
][
0
]
=
0
;
sopt
[
j
][
0
]
=
0
;
uifc
.
helpbuf
=
"Select a sort order to add and press enter"
;
sret
=
uifc
.
list
(
WIN_SAV
|
WIN_BOT
|
WIN_RHT
sret
=
uifc
.
list
(
WIN_SAV
|
WIN_BOT
|
WIN_RHT
,
0
,
0
,
0
,
&
scurr
,
&
sbar
,
"Sort Field"
,
sopts
);
,
0
,
0
,
0
,
&
scurr
,
&
sbar
,
"Sort Field"
,
sopts
);
if
(
sret
>=
0
)
{
if
(
sret
>=
0
)
{
...
...
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