summaryrefslogtreecommitdiff
path: root/src/term/print_rate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/term/print_rate.c')
-rw-r--r--src/term/print_rate.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/term/print_rate.c b/src/term/print_rate.c
new file mode 100644
index 00000000..b6cd916f
--- /dev/null
+++ b/src/term/print_rate.c
@@ -0,0 +1,11 @@
+#include <curses.h>
+
+#define print_rate tigetnum("cps")
+
+/** print rate in characters per second **/
+
+/*
+TERMINFO_NAME(cps)
+TERMCAP_NAME(Ym)
+XOPEN(400)
+*/