Comments (6)
Also the Java Samples are misleading now.
Only the Kotlin JeditMain App works correctly on Linux + Java.
Would you like to receive a PR on both issues?
from jediterm.
@manticore-projects Thanks for spotting this. Fixed by 8372a7f
As for the Java Samples, I've just checked it on Windows and both com.jediterm.example.BasicTerminalExample
/ com.jediterm.example.BasicTerminalShellExample
work for me. Could you please describe your problem with samples in a new issue first? (Yes, PR are always welcome.)
from jediterm.
Closed as fixed
from jediterm.
What I meant is:
-
the Kotlin Std. lib needs to be included, else the Resizing does not work (although there is no error message).
-
you deprecated some code which I found from the Kotlin example. But the Java example still shows the old, deprecated code.
from jediterm.
- Yes,
kotlin-stdlib:1.9.0
should be included by clients. Usually, it happens automatically as jediterm-core exposes its runtime dependencies in pom.xml. - If you meant UIUtil, I will update its usages, thanks for spotting. If it's something else, please share a link to deprecated code usage.
from jediterm.
- Yes,
kotlin-stdlib:1.9.0
should be included by clients. Usually, it happens automatically as jediterm-core exposes its runtime dependencies in pom.xml.
Correct, but this works only recently with the Maven Artifact.
Before I had to copy/link the local libraries and I skipped most (JNA, Logger etc.) because I had those in my own dependencies already.
Basically it's all about my bias: I though Kotlin compiles into Java Class and so would not be needed for the JAR files.
But since you are converting to Kotlin now, this assumption does not hold.
2. If you meant [UIUtil](https://github.com/JetBrains/jediterm/blob/a7670d96cfc65e49f5214750ec5259ca5a9f49eb/JediTerm/src/main/java/com/jediterm/example/BasicTerminalShellExample.java#L32), I will update its usages, thanks for spotting. If it's something else, please share a link to deprecated code usage.
Yes, this one exactly.
Thank you a lot for helping! Cheers!
from jediterm.
Related Issues (20)
- spewing ^[[?6c control characters when running nano with TERM=linux HOT 1
- Requesting new release HOT 2
- x11
- The cursor sometimes disappears
- The cursor is gone
- Ensure TerminalKeyHandler checks if key event isn't consumed HOT 2
- Set the TERMINAL_EMULATOR environment variable HOT 2
- Add support for CSI U/Kitty protocol
- use escape sequence to change cursor shape inside zsh causes character under the cursor becomes invisible
- Any way to set current working directory? HOT 3
- Broken terminal when launched from iTerm and powerlevel10k's transient prompt HOT 4
- How can I set the background color to be transparent? HOT 1
- How to close a JediTerm Widget and it's running OS process correctly? HOT 7
- UserSettingsProvider#getSelectionColor() is called way too often HOT 4
- Would you like to provide a demo? HOT 1
- Can I get the out without a ui page? HOT 13
- Clearing the buffer causes "Attempt to get line out of bounds" errors HOT 1
- Soft terminal reset clears screen content
- BASH 4.2 vs. Jeditterm 3.36 and newer HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jediterm.