Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e6dd9901
Commit
e6dd9901
authored
Jul 14, 1992
by
Jim Blandy
Browse files
entered into RCS
parent
22a89ee8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/cm.h
src/cm.h
+3
-3
src/termopts.h
src/termopts.h
+1
-1
No files found.
src/cm.h
View file @
e6dd9901
...
...
@@ -125,8 +125,8 @@ extern short ospeed; /* Output speed (from sg_ospeed) */
#define AutoWrap Wcm.cm_autowrap
#define MagicWrap Wcm.cm_magicwrap
#define UseTabs Wcm.cm_usetabs
#define
Screen
Rows Wcm.cm_rows
#define
Screen
Cols Wcm.cm_cols
#define
Frame
Rows Wcm.cm_rows
#define
Frame
Cols Wcm.cm_cols
#define UpCost Wcm.cc_up
#define DownCost Wcm.cc_down
...
...
@@ -149,7 +149,7 @@ extern short ospeed; /* Output speed (from sg_ospeed) */
#define cmat(row,col) (curY = (row), curX = (col))
#define cmplus(n) \
{ \
if ((curX += (n)) >=
Screen
Cols && !MagicWrap) \
if ((curX += (n)) >=
Frame
Cols && !MagicWrap) \
{ \
if (Wcm.cm_losewrap) losecursor (); \
else if (AutoWrap) curX = 0, curY++; \
...
...
src/termopts.h
View file @
e6dd9901
...
...
@@ -36,5 +36,5 @@ extern int interrupts_deferred;
/* Terminal has meta key */
extern
int
meta_key
;
/* Nonzero means truncate lines in all windows less wide than the
screen
*/
/* Nonzero means truncate lines in all windows less wide than the
frame
*/
extern
int
truncate_partial_width_windows
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment