Description
What steps will reproduce the bug?
- open powershell 7.5.0 in windows terminal
- use
bat
check a file which will callless
- press Ctrl+C
What happens?
The interface is stuck. so i can only open a new terminal
What did you expect to happen instead?
I attempted to just use less
, and although it doesn’t exit with Ctrl+C, I can still quit normally using ‘q’ after trying Ctrl+C.
Therefore, should bat
behave like less
?
By that, I mean bat functions correctly, but the issue arises when I press Ctrl+C.
How did you install bat
?
scoop install less
scoop install bat
bat version and environment
(daily)# HZF @ Francesca in ~\..\..\TheMisingSemester on git:main x $ bat '.\TheMissingSemester_L11_Q&A.md' --diagnostic
#### Software version
bat 0.25.0 (25f4f96)
#### Operating system
Windows 6.2.9200
#### Command-line
```bash
C:\Users\HZF\scoop\apps\bat\current\bat.exe .\TheMissingSemester_L11_Q&A.md --diagnostic
Environment variables
BAT_CACHE_PATH=<not set>
BAT_CONFIG_PATH=<not set>
BAT_OPTS=<not set>
BAT_PAGER=<not set>
BAT_PAGING=<not set>
BAT_STYLE=<not set>
BAT_TABS=<not set>
BAT_THEME=<not set>
COLORTERM=<not set>
LANG=<not set>
LC_ALL=<not set>
LESS=<not set>
MANPAGER=<not set>
NO_COLOR=<not set>
PAGER=<not set>
SHELL=<not set>
TERM=<not set>
XDG_CACHE_HOME=<not set>
XDG_CONFIG_HOME=<not set>
System Config file
Could not read contents of 'C:\ProgramData\bat\config': 系统找不到指定的路径。 (os error 3).
Config file
Custom assets metadata
Could not read contents of 'C:\Users\HZF\AppData\Local\bat\metadata.yaml': 系统找不到指定的路径。 (os error 3).
Custom assets
'C:\Users\HZF\AppData\Local\bat' not found
Compile time information
- Profile: release
- Target triple: x86_64-pc-windows-msvc
- Family: windows
- OS: windows
- Architecture: x86_64
- Pointer width: 64
- Endian: little
- CPU features: cmpxchg16b,fxsr,sse,sse2,sse3
- Host: x86_64-pc-windows-msvc
Less version
> C:\Users\HZF\scoop\shims\less.exe --version
less 668 (Spencer V8 regular expressions)
Copyright (C) 1984-2024 Mark Nudelman
less comes with NO WARRANTY, to the extent permitted by law.
For information about the terms of redistribution,
see the file named README in the less distribution.
Home page: https://greenwoodsoftware.com/less
Or maybe there's something wrong with my Windows?
Thank you so much.