oc2 icon indicating copy to clipboard operation
oc2 copied to clipboard

nano can't type `{`, `}`, `\` and possibly other characters as well AND tcc segfaults on compile

Open RedCookieLP opened this issue 1 year ago • 2 comments

Describe the bug Trying to type { or } is not possible AND Compiling a main.c file using tcc just results in tcc segfaulting

To Reproduce Steps to reproduce the behavior: (Singleplayer)

  1. Build and place computer
  2. Open main.c-file using nano (nano main.c)
  3. Try to type simple Hello World-program --> Can't type {, } and \ (and for tccs problem: continue with 4)
  4. Copy-paste Hello-World-program in nano, save and quit nano
  5. Try to compile main.c using tcc (tcc -std=c11 main.c -o main.out) --> tcc segfaults

Log files (Don't see any log files... or I'm just blind)

Expected behavior Being able to type those characters and tcc working

Screenshots (Not much to see here...)

Versions (please complete the following information):

  • Minecraft: 1.18.2
  • Forge: 40.2.0
  • OC2: 0.1.8 [3feb69b, if this is useful...]

RedCookieLP avatar Jul 03 '23 21:07 RedCookieLP

Are you sure you don't wanna split this into two issues?

atirut-w avatar Jul 04 '23 01:07 atirut-w

and nano can't type and paste any Chinese word: example: all Chinese word will paste as a random characters(abcdef举个例子12345 ---> - abcdef12345

xiaoniaoawa avatar Feb 02 '24 14:02 xiaoniaoawa