Git Product home page Git Product logo

t-shell's Issues

需求 bug

  • 文件夹上传功能
  • 按上键查找命令历史时候,如果t-shell有匹配,就无法再按上键继续查找
  • 优化一下传输队列清除
  • 加入密钥登录功能
  • 加入自动sudo功能

需求:掉线提示

image
希望新增断网、掉线提示。
当前状态为掉线,光标依旧闪动,无法输入

提示网络不可用。

旧版之前新建过,也新建了主机,但无法连接。

卸载安装了最新的0.4.2,新建组就提示网络不可用。
图:
image

优化message传输时内存占用过大

  private void receiveMsg(Consumer<String> msgHandle, TtyConnector ttyConnector) {
        executorService.execute(() -> {
            char[] buffer = new char[DEFAULT_BUFFER_SIZE];
            int i = 0;
            while (true) {
                try {
                    if ((i = ttyConnector.read(buffer)) == -1) {
                        break;
                    }
                } catch (IOException e) {
                    msgHandle.accept("会话已经关闭");
                    throw new RuntimeException(e);
                }
                msgHandle.accept(new String(buffer, 0, i));
            }
        });
    }

直接返回byte buffer 或者char buffer 减少数组copy带来的额外内存占用

服务端运行报错

ERROR] 源发行版 17 与 --enable-preview 一起使用时无效
(仅发行版 19 支持预览语言功能)
[INFO] 1 error

全局变量修改不生效

操作步骤:
1.修改一个已有的全局变量

结果:
1.修改成功
2.再次点击修改
3.发现全局变量值没变

期望结果:
1.全局变量为修改后的值

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.