"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "util.c" between
xterm-367.tgz and xterm-368.tgz

About: xterm is a terminal emulator for X with ISO/ANSI color and vt220 enhancements.

util.c  (xterm-367.tgz):util.c  (xterm-368.tgz)
/* $XTermId: util.c,v 1.877 2021/03/21 21:27:08 tom Exp $ */ /* $XTermId: util.c,v 1.878 2021/06/06 23:14:52 Stelios.Bounanos Exp $ */
/* /*
* Copyright 1999-2020,2021 by Thomas E. Dickey * Copyright 1999-2020,2021 by Thomas E. Dickey
* *
* All Rights Reserved * All Rights Reserved
* *
* Permission is hereby granted, free of charge, to any person obtaining a * Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the * copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including * "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish, * without limitation the rights to use, copy, modify, merge, publish,
skipping to change at line 630 skipping to change at line 630
HideCursor(xw); HideCursor(xw);
i = screen->bot_marg - screen->top_marg + 1; i = screen->bot_marg - screen->top_marg + 1;
if (amount > i) if (amount > i)
amount = i; amount = i;
if (!scroll_full_line) { if (!scroll_full_line) {
refreshheight = 0; refreshheight = 0;
} else } else
#if OPT_SCROLL_LOCK #if OPT_SCROLL_LOCK
if (screen->allowScrollLock && screen->scroll_lock) { if ((screen->allowScrollLock && screen->scroll_lock)
|| (screen->autoScrollLock && screen->topline < 0)) {
refreshheight = 0; refreshheight = 0;
screen->scroll_amt = 0; screen->scroll_amt = 0;
screen->refresh_amt = 0; screen->refresh_amt = 0;
if (--(screen->topline) < -screen->savelines) { if (--(screen->topline) < -screen->savelines) {
screen->topline = -screen->savelines; screen->topline = -screen->savelines;
screen->scroll_dirty = True; screen->scroll_dirty = True;
} }
if (++(screen->savedlines) > screen->savelines) { if (++(screen->savedlines) > screen->savelines) {
screen->savedlines = screen->savelines; screen->savedlines = screen->savelines;
} }
 End of changes. 2 change blocks. 
2 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)