aboutsummaryrefslogtreecommitdiff
path: root/grid-view.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2014-03-08 16:28:56 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2014-03-08 16:28:56 +0000
commit77603c4f2de1961b3da141b3e6e4ce2f983365d4 (patch)
tree4ea1533af8574a91a074fbebea204380f5e00dc8 /grid-view.c
parent7019f77c05f45ea9267f7e768d0abb0b6a928a25 (diff)
parent9880114aff0b48649f00266125da1dc3c94a70eb (diff)
downloadrtmux-77603c4f2de1961b3da141b3e6e4ce2f983365d4.tar.gz
rtmux-77603c4f2de1961b3da141b3e6e4ce2f983365d4.tar.bz2
rtmux-77603c4f2de1961b3da141b3e6e4ce2f983365d4.zip
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
Diffstat (limited to 'grid-view.c')
-rw-r--r--grid-view.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/grid-view.c b/grid-view.c
index 7ef443a3..13385cd1 100644
--- a/grid-view.c
+++ b/grid-view.c
@@ -59,8 +59,6 @@ grid_view_clear_history(struct grid *gd)
struct grid_line *gl;
u_int yy, last;
- GRID_DEBUG(gd, "");
-
/* Find the last used line. */
last = 0;
for (yy = 0; yy < gd->sy; yy++) {
@@ -82,8 +80,6 @@ grid_view_clear_history(struct grid *gd)
void
grid_view_clear(struct grid *gd, u_int px, u_int py, u_int nx, u_int ny)
{
- GRID_DEBUG(gd, "px=%u, py=%u, nx=%u, ny=%u", px, py, nx, ny);
-
px = grid_view_x(gd, px);
py = grid_view_y(gd, py);
@@ -94,8 +90,6 @@ grid_view_clear(struct grid *gd, u_int px, u_int py, u_int nx, u_int ny)
void
grid_view_scroll_region_up(struct grid *gd, u_int rupper, u_int rlower)
{
- GRID_DEBUG(gd, "rupper=%u, rlower=%u", rupper, rlower);
-
if (gd->flags & GRID_HISTORY) {
grid_collect_history(gd);
if (rupper == 0 && rlower == gd->sy - 1)
@@ -116,8 +110,6 @@ grid_view_scroll_region_up(struct grid *gd, u_int rupper, u_int rlower)
void
grid_view_scroll_region_down(struct grid *gd, u_int rupper, u_int rlower)
{
- GRID_DEBUG(gd, "rupper=%u, rlower=%u", rupper, rlower);
-
rupper = grid_view_y(gd, rupper);
rlower = grid_view_y(gd, rlower);
@@ -130,8 +122,6 @@ grid_view_insert_lines(struct grid *gd, u_int py, u_int ny)
{
u_int sy;
- GRID_DEBUG(gd, "py=%u, ny=%u", py, ny);
-
py = grid_view_y(gd, py);
sy = grid_view_y(gd, gd->sy);
@@ -145,8 +135,6 @@ grid_view_insert_lines_region(struct grid *gd, u_int rlower, u_int py, u_int ny)
{
u_int ny2;
- GRID_DEBUG(gd, "rlower=%u, py=%u, ny=%u", rlower, py, ny);
-
rlower = grid_view_y(gd, rlower);
py = grid_view_y(gd, py);
@@ -162,8 +150,6 @@ grid_view_delete_lines(struct grid *gd, u_int py, u_int ny)
{
u_int sy;
- GRID_DEBUG(gd, "py=%u, ny=%u", py, ny);
-
py = grid_view_y(gd, py);
sy = grid_view_y(gd, gd->sy);
@@ -178,8 +164,6 @@ grid_view_delete_lines_region(struct grid *gd, u_int rlower, u_int py, u_int ny)
{
u_int ny2;
- GRID_DEBUG(gd, "rlower=%u, py=%u, ny=%u", rlower, py, ny);
-
rlower = grid_view_y(gd, rlower);
py = grid_view_y(gd, py);
@@ -195,8 +179,6 @@ grid_view_insert_cells(struct grid *gd, u_int px, u_int py, u_int nx)
{
u_int sx;
- GRID_DEBUG(gd, "px=%u, py=%u, nx=%u", px, py, nx);
-
px = grid_view_x(gd, px);
py = grid_view_y(gd, py);
@@ -214,8 +196,6 @@ grid_view_delete_cells(struct grid *gd, u_int px, u_int py, u_int nx)
{
u_int sx;
- GRID_DEBUG(gd, "px=%u, py=%u, nx=%u", px, py, nx);
-
px = grid_view_x(gd, px);
py = grid_view_y(gd, py);
@@ -229,8 +209,6 @@ grid_view_delete_cells(struct grid *gd, u_int px, u_int py, u_int nx)
char *
grid_view_string_cells(struct grid *gd, u_int px, u_int py, u_int nx)
{
- GRID_DEBUG(gd, "px=%u, py=%u, nx=%u", px, py, nx);
-
px = grid_view_x(gd, px);
py = grid_view_y(gd, py);