Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/spring/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Spring 打印带有弹簧外壳的固定线条_Spring_Spring Shell - Fatal编程技术网

Spring 打印带有弹簧外壳的固定线条

Spring 打印带有弹簧外壳的固定线条,spring,spring-shell,Spring,Spring Shell,我想开发一个小型Sprint Shell项目,在其中显示静态信息,这些信息在收到事件时可能会更新。SpringShell是否可以实现此功能,或者它是否是该作业的正确工具 举一个我想要达到的目标的例子: ------------------- | Stock Value: 5$ | < This information should be always displayed ------------------- shell:> I can put input here ------

我想开发一个小型Sprint Shell项目,在其中显示静态信息,这些信息在收到事件时可能会更新。SpringShell是否可以实现此功能,或者它是否是该作业的正确工具

举一个我想要达到的目标的例子:

-------------------
| Stock Value: 5$ | < This information should be always displayed
-------------------

shell:> I can put input here
-------------------
|股票价值:5$|<应始终显示此信息
-------------------
shell:>我可以在这里输入
当我在应用程序中键入事件时,应该能够将其更改为,例如

-------------------
| Stock Value: 7$ | < This information gets updated
-------------------

shell:> I can still type here
-------------------
|股票价值:7$|<此信息得到更新
-------------------
shell:>我仍然可以在这里打字

Spring shell可以为您做到这一点

请参见此处的教程: