aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-06-25 10:44:36 +0200
committerOmar Polo <op@omarpolo.com>2021-06-25 10:44:36 +0200
commit7b11ff42507558a83e6df69fc834ee2a20227dc9 (patch)
tree498bb97ff9499ad4bc9a07e8e7fb3282d89dce6b
parent1c412d480d6f8b782a3aa610e0396a678bfecddb (diff)
downloadtelescope-7b11ff42507558a83e6df69fc834ee2a20227dc9.tar.gz
telescope-7b11ff42507558a83e6df69fc834ee2a20227dc9.tar.bz2
keep the comment up-to-date
we don't use wscrl (even though redraw_window could gain some speed by calling wscrl in some contexts)
-rw-r--r--ui.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ui.c b/ui.c
index a5f10a6..672771f 100644
--- a/ui.c
+++ b/ui.c
@@ -23,8 +23,6 @@
* ncurses allows you to scroll a window, but when a line goes out of
* the visible area it's forgotten. We keep a list of formatted lines
* (``visual lines'') that we know fits in the window, and draw them.
- * This way is easy to scroll: just call wscrl and then render the
- * first/last line!
*
* This means that on every resize we have to clear our list of lines
* and re-render everything. A clever approach would be to do this