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
78ff8251
Commit
78ff8251
authored
18 years ago
by
deuce
Browse files
Options
Downloads
Patches
Plain Diff
Some screen tidying.
parent
9a284fca
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
exec/fseditor.js
+10
-11
10 additions, 11 deletions
exec/fseditor.js
with
10 additions
and
11 deletions
exec/fseditor.js
+
10
−
11
View file @
78ff8251
...
...
@@ -32,7 +32,7 @@ var info;
// Message header display format
var
hdr_fmt
=
"
\
1b
\
1h%-4s
\
1n
\
1b:
\
1h
\
1c%.60s
\
1>
\r\n
"
;
var
stat_fmt
=
"
\
1h
\
1w
\
0014 FSEditor v
"
+
REVISION
+
"
- Type
\
1yCTRK-K
\
1w for help %s
\
1>
\
1n
"
;
var
stat_fmt
=
"
\
1h
\
1w
\
0014 FSEditor v
"
+
REVISION
+
"
- Type
\
1yCTRK-K
\
1w for help
%s
\
1>
\
1n
"
;
var
subj
,
to
,
from
;
function
Line
()
...
...
@@ -207,8 +207,7 @@ function status_line()
console
.
gotoxy
(
1
,
console
.
screen_rows
);
printf
(
stat_fmt
,(
insert
?
"
Insert Mode
"
:
"
Overwrite Mode
"
));
console
.
attributes
=
curattr
;
console
.
write
(
"
Current Colour
"
);
console
.
attributes
=
16
;
console
.
write
(
"
Current Colour
"
);
console
.
cleartoeol
();
set_cursor
();
}
...
...
@@ -1301,8 +1300,7 @@ function quote_mode()
console
.
gotoxy
(
1
,
quote_sep_pos
+
1
);
else
console
.
gotoxy
(
1
,
edit_top
);
console
.
cleartoeol
();
console
.
write
(
"
\r\n
Quote mode keys:
"
);
console
.
write
(
"
Quote mode keys:
"
);
console
.
cleartoeol
();
console
.
write
(
"
\r\n
CTRL-B - Move to begining of message CTRL-^ - Move up one line
"
);
console
.
cleartoeol
();
...
...
@@ -1323,8 +1321,6 @@ function quote_mode()
console
.
write
(
'
\r\n
'
);
console
.
write
(
"
Press any key to return to editing..
"
);
console
.
cleartoeol
();
console
.
write
(
'
\r\n
'
);
console
.
cleartoeol
();
console
.
up
();
console
.
right
(
37
);
console
.
getkey
();
...
...
@@ -1544,8 +1540,7 @@ function edit(quote_first)
case
'
\
x0b
'
:
/* CTRL-K */
console
.
attributes
=
7
;
console
.
gotoxy
(
1
,
edit_top
);
console
.
cleartoeol
();
console
.
write
(
"
\r\n
Editing keys:
"
);
console
.
write
(
"
Editing keys:
"
);
console
.
cleartoeol
();
console
.
write
(
"
\r\n
CTRL-A - Change Colour CTRL-Q - Quick Abort (no save)
"
);
console
.
cleartoeol
();
...
...
@@ -1667,8 +1662,12 @@ function edit(quote_first)
}
break
;
case
'
\
x15
'
:
/* CTRL-U (Quick Quote in SyncEdit) */
if
(
quote_mode
())
return
;
if
(
quote_line
.
length
>
0
)
{
if
(
quote_mode
())
return
;
}
else
console
.
beep
();
break
;
case
'
\
x16
'
:
/* CTRL-V (Toggle insert mode) */
insert
=!
insert
;
...
...
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