pkgsrc/editors/dhex/patches/patch-main.c
nia 0dda31a8a7 dhex: Update to 0.69 (nice)
Changes:

0.69: this will be the final release of dhex 0.6x. I fixed a bug which caused
      the terminal to be broken. And added the functionality to start the
      hexcal from the commandline (-x).
2020-03-23 19:45:36 +00:00

14 lines
375 B
C

$NetBSD: patch-main.c,v 1.1 2020/03/23 19:45:37 nia Exp $
Required by NetBSD curses.
--- main.c.orig 2019-01-19 16:17:37.000000000 +0000
+++ main.c
@@ -530,6 +530,7 @@ int main(int argc,char** argv)
output->win=initscr();
pairsinit(output);
noecho();
+ raw();
nodelay(output->win,1);
if (keyboardsetupreq) keyboardsetup(output,configfile);
if (bhexcalc)