Comments (12)
and ftxui::Menu
can not select
from ftxui.
from ftxui.
Here is what I got:
https://asciinema.org/a/l0EAt5kwQLDkXEgUDDeJn5G5W
It seems to work as expected to me. Could you describe what do you think is a problem?
from ftxui.
I tested that all third-party terminals on Windows display normal, but only Windows CMD, PowerShell displays abnormal
from ftxui.
Although Windows Terminal
it can be displayed, the display screen is blinking
from ftxui.
Thanks for the screenshot!
It looks like support for ANSI/VT100 codes on some windows terminal is not supported / disabled by default.
See this answer:
https://stackoverflow.com/a/51681675/5112390
I don't own a Windows desktop, but we just need to call SetConsoleMode. I already did that when using a ScreenInteractive:
I just need to add support for Screen. I will try today.
from ftxui.
I took a Windows desktop, learn how to develop on it (it was unexpectedly hard), but I finally made it. I just uploaded a patch fixing most of your issues (on branch origin/dev)
I am also seeing a few more issues on windows. I will fix them soon.
from ftxui.
Thanks, it can be displayed now, but there is still a problem with the menu component. No way to select items.
the code is:
FTXUI/examples/component/menu.cpp
Lines 5 to 25 in 22afacc
from ftxui.
I guess this is fixed right? I don't fully remember.
from ftxui.
I'm using tag 3.0.0 in Windows 8.1 CMD and it does not looks very well
This is the starter example/project
from ftxui.
Hello @iganinja,
Could you specify how you are building and linking FTXUI?
from ftxui.
Sure @ArthurSonzogni
This is the whole CMakeLists.txt:
cmake_minimum_required(VERSION 3.5)
project(TMSE LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
add_executable(TMSE main.cpp)
include(FetchContent)
FetchContent_Declare(ftxui
GIT_REPOSITORY https://github.com/ArthurSonzogni/ftxui
GIT_TAG v3.0.0
)
FetchContent_GetProperties(ftxui)
if(NOT ftxui_POPULATED)
FetchContent_Populate(ftxui)
add_subdirectory(${ftxui_SOURCE_DIR} ${ftxui_BINARY_DIR} EXCLUDE_FROM_ALL)
endif()
target_link_libraries(TMSE
PRIVATE ftxui::screen
PRIVATE ftxui::dom
PRIVATE ftxui::component
)
from ftxui.
Related Issues (20)
- when will release new version HOT 4
- Simulate a timeline HOT 2
- dropdown example bugs HOT 2
- Creating an input window, and outputting entered text after hitting enter or special key. HOT 3
- how to hide the cursor HOT 2
- About Support for Full width Characters in FTXUI HOT 10
- Is there an Event handling when CTRL+SHIFT+C is pressed? HOT 2
- From ftxui::Element to std::string or char* HOT 3
- focus problem HOT 2
- Untidy exit on std::terminate() HOT 1
- Do you have any recommended fonts? The font provided by windows is not very beautiful HOT 2
- How to highlight text inside ftxui::text() or ftxui::paragraph() HOT 1
- Is there a bug between full width characters and vertical?
- Running tests alters the terminal state HOT 2
- The scrollbar doesn't work in the "homescreen.cpp" demo HOT 3
- [feature request] Scatter plots HOT 1
- Dynamically adding elements to Checkboxes HOT 5
- Correctness of layout requirement for flexbox. Scrollbar implementation. HOT 1
- I've tried everything. I need help HOT 1
- Compression priority when rendering a vbox with inadequate space. HOT 2
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 ftxui.