From 74fa0c75825a70b821590ea4a198c1078f799120 Mon Sep 17 00:00:00 2001 From: gunboy001 Date: Fri, 29 Nov 2019 13:25:23 +0100 Subject: [PATCH] minor changes --- .sconsign.dblite | Bin 3124 -> 3124 bytes doc/useful links.txt | 8 +++++++- src/ste.c | 4 ++++ src/ste.o | Bin 13384 -> 13536 bytes 4 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.sconsign.dblite b/.sconsign.dblite index 0dead31fc38efaaee185a2ea1108d6576edf372f..24894544c1b928a833c30fad9ede14ebe9160b89 100644 GIT binary patch delta 369 zcmajbJxjw-6b4{h8;iz55s`>XRge~>BsVuVxs#({ZT*abc){F{^avsxYR3*Px(fLZ z&O$o~{s(8r`Xd|#LqY21cn;@*_dO$L1$2HBB<^fZ#qycwRkGYA* ze4i`gF~$;&7f@-BvyajPQGb{+R7Rnfa!x}-Db>C!Qz~7pm77pzu$!~*?8$0Yrwk^` z;k&gp8~tX8OR9I>#r3%6`HILWA~fP8G};eBCetuV7&8H(RN)5L?bqSiS$1VN3+LIFz4HUdCvNrt delta 373 zcmajbOH0E*5CCAUjiPCxh?I(#`aoKclEh82{RI|d>oW?%iu*`9f(S#+u?G?KD(uy> z;7w?6{s$33@#bG~DMF7PXP9qZ!^*Jo@|5>(pMMxwQ4Z|5Dt(W09*UGWVIUIa66sRO zX(}X9#7*!NitU#E&fj?-k7Gten7T@drl3Udlm@9M0zsr7aOo$m!meST`oU_H#tcTu z!JD-{MZf-<#d+Dg=;Cr*ZPJu@R8cd1Q>id?c;G8XnjN^4C_-=r>^2NGX6uvV3yk~s zg21?zzMp%wde=!q>MeU!zuRkP+h9i%nScTm>o*wnai<0)hHaQ<*ntIxyQ3$S8SX)) s1B(pzVTs{ECNdFQ@-pF9cnCRTkNOzbM#a-GW8&jJp6GMCtaAnL7f)_>Q2+n{ diff --git a/doc/useful links.txt b/doc/useful links.txt index e6921b1..80162dd 100644 --- a/doc/useful links.txt +++ b/doc/useful links.txt @@ -9,4 +9,10 @@ Parsing Json in C: https://github.com/zserge/jsmn Sconstruct a make alternative: - https://github.com/SCons/scons/wiki/SConsCrashCourse \ No newline at end of file + https://github.com/SCons/scons/wiki/SConsCrashCourse + +Write a simple text editor written in pure C: + https://viewsourcecode.org/snaptoken/kilo/ + +All C keywords: + https://www.programiz.com/c-programming/list-all-keywords-c-language \ No newline at end of file diff --git a/src/ste.c b/src/ste.c index 13d6098..a1bc626 100644 --- a/src/ste.c +++ b/src/ste.c @@ -228,6 +228,10 @@ void termInit (void) /* Turn off echoing */ noecho(); + /* Other standard options */ + nonl(); + intrflush(stdscr, FALSE); + /* Set the tab size */ set_tabsize(TABSIZE); diff --git a/src/ste.o b/src/ste.o index c9ef6677637e6b2d61b3212baf043868a58a2577..a37910b8e8c287005d416fa6efe21d7e5de8202b 100644 GIT binary patch delta 4508 zcmZ{oTWpj?6o6+6(u-~Bw#Dg6>$ZUsXu0gRz_x%atw^>pibaW5(YQ8p35dZ$f}k!$ zAQ;pXCdO(Aw5B9r!ALf~5DAxnK`9b^kQkak!KffAeZUw4)HySA%HfcmWM+51bDcBu z&%f=drI(hqkC&YXC%h=jcIF7twC&xj_=nSkX}`k|fB$5B^U;x;;<`(o&Ua|rqaca= zqnBhf%DMWBjA-uoL(-rlXL@^k+fz3(@^a+S)ScWd!{kqTbHO+{nA%^k$V^h%#W5*w z>*gXQGj(E=l0|k5nQ@AoV87ScvCfV$JI3wUY{wQmw!)}4JX9iA+xdDsZnmSg<7al< zW5=)Ucw7gR3Z61~778hzh9#I*=sv_*-Jp~_pK4JfW&X-HR<01sR<3??@rpHVOZAeH zpHs15OGdB^7HQgW(K2#*lHC=GA5o;T@0 zsfv8$bux?{WDqwU+NXrqn0bk%LVTxJl`44_#^e>IQ|fiDF^(%5NW)}7pwr1+i5zqQepsmfCiO>gMKk6n^xsHEWFlq)UVZvGS&1Xv4ZfR1??Ha zX=z#rr={%B$I4W)n@DNSUowulr91~uqfN)$4l#Ym2-*q4X|}zNCx?oKjxG`dNa$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