Skip to content

Fix inim crash on Termux/Android - #143

Closed
DerekRDev wants to merge 1 commit into
inim-repl:masterfrom
DerekRDev:fix-termux-indentation-error
Closed

Fix inim crash on Termux/Android#143
DerekRDev wants to merge 1 commit into
inim-repl:masterfrom
DerekRDev:fix-termux-indentation-error

Conversation

@DerekRDev

Copy link
Copy Markdown

Inim was crashing immediately on startup with an 'invalid indentation' error on line 10. Found that writeLine(EmbeddedCode) was adding an extra newline, which broke the Nim compiler parsing.

Changed to write() with a conditional newline check to fix it.

Tested working on Termux(Android ARM64) with Nim 2.2.4
Inim now starts and runs correctly
Simple REPL operations work as expected.

inim was crashing immediately on startup with 'invalid indentation'
error on line 10. Found that writeLine(EmbeddedCode) was adding an
extra newline which broke the nim compiler parsing.

Changed to write() with conditional newline check to fix it.

Tested working on Termux with Nim 2.2.4
@DerekRDev DerekRDev closed this Jul 6, 2026
@DerekRDev
DerekRDev deleted the fix-termux-indentation-error branch July 6, 2026 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant