kingToolbox / kingToolbox/WindTerm
The quick commands \n and \r do not match the SCRT display in the Linux commond line, is it a problem with my settings?
- Dominant language
- C
- Stars
- 32.3k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
my quick command ——
```shell
col name for a10 \n
col state for a10 \n
select name,state,type,round(total_mb/1024,2) "total(Gb)",round(free_mb/1024,2) "free(Gb)",round((free_mb / total_mb) * 100, 2) as "free_pct(%)" from v$asm_diskgroup; \n
```
click it

看红色标记的部分,我尝试修改快捷命令\n变为\r,还是会得到一样的结果。
Looking at the red marked, I try to change the shortcut command \n to \r, and I still get the same result.
the same quick commond in SCRT

是需要在哪里做设置?还是说快捷命令的书写方式有问题?
How do I set it up so that I get the same display result as SCRT
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the quick command in WindTerm against the Linux command line, then compare its output with the same command in SCRT. Start by tracing how quick commands interpret \n and \r and how the terminal display renders them. Done means the command produces the expected line breaks and display, or the required setting and command syntax are documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100